From 293495cf8a9e5b8e04c4d01c4a1e0f20abcca044 Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Sat, 19 Aug 2000 20:56:49 +0000 Subject: [PATCH] Small clarification. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30532 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/network.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/functions/network.xml b/functions/network.xml index 96d3d5909a..c017fe2153 100644 --- a/functions/network.xml +++ b/functions/network.xml @@ -135,17 +135,18 @@ - Initiates a stream connection in the Internet (AF_INET, using - TCP or UDP) or Unix (AF_UNIX) domain. For the Internet domain, - it will open a TCP - socket connection to hostname on - port port. For UDP connections, you need - to explicitely specify the the protocol: - udp://hostname. For the Unix domain, - hostname will be used as the path to the - socket, port must be set to 0 in this - case. The optional timeout can be used - to set a timeout in seconds for the connect system call. + Initiates a stream connection in the Internet (AF_INET, using TCP + or UDP) or Unix (AF_UNIX) domain. For the Internet domain, it + will open a TCP socket connection to + hostname on port + port. hostname may + in this case be either a fully qualified domain name or an IP + address. For UDP connections, you need to explicitely specify the + the protocol: udp://hostname. For the + Unix domain, hostname will be used as the + path to the socket, port must be set to 0 + in this case. The optional timeout can be + used to set a timeout in seconds for the connect system call. Fsockopen returns a file pointer which may