From eb737cc3f56848b5a328087133b7be3bb37f6781 Mon Sep 17 00:00:00 2001 From: Georg Richter <georg@php.net> Date: Wed, 10 Apr 2002 07:41:41 +0000 Subject: [PATCH] changed url's in example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@77486 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/sockets.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.35 $ --> +<!-- $Revision: 1.36 $ --> <reference id="ref.sockets"> <title>Socket functions</title> <titleabbrev>Sockets</titleabbrev> @@ -132,7 +132,7 @@ echo "<h2>TCP/IP Connection</h2>\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);