diff --git a/functions/sockets.xml b/functions/sockets.xml index de16bc2f50..2e6c36f82b 100644 --- a/functions/sockets.xml +++ b/functions/sockets.xml @@ -1,5 +1,5 @@ - + Socket functions Sockets @@ -132,7 +132,7 @@ echo "

TCP/IP Connection

\n"; $service_port = getservbyname ('www', 'tcp'); /* Get the IP address for the target host. */ -$address = gethostbyname ('www.php.net'); +$address = gethostbyname ('www.example.com'); /* Create a TCP/IP socket. */ $socket = socket_create (AF_INET, SOCK_STREAM, 0);