Return to t.c CVS log | Up to [DVB] / dietlibc |
version 1.89, 2001/05/23 14:57:32 | version 1.90, 2001/05/23 23:32:52 |
---|---|
Line 140 int main(int argc,char *argv[]) { | Line 140 int main(int argc,char *argv[]) { |
struct hostent * host; | struct hostent * host; |
struct in_addr i; | struct in_addr i; |
host = gethostbyname("pegasus"); | host = gethostbyname2("borg",AF_INET6); |
if (!host) | if (!host) |
printf("host null\n"); | printf("host null\n"); |