mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
changed url's in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@77486 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
65377f9f76
commit
eb737cc3f5
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue