Re: gethostbyname

From: Date: Tue, 02 Mar 1999 23:50:02 +0000
Subject: Re: gethostbyname
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-4446@lists.php.net to get a copy of this message
> > main(int argc, char **argv) { printf("looking up %s - result: %s\n", argv[1], > gethostbyname(argv[1]) ? "ok" : "bad"); } This works with all names even ones not in the hosts file. Now I am really confused. Timothy -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4446) next »