From 09d018dbe531f9cddc2289fcefd5cf2f3368a346 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Wed, 1 May 2002 11:15:40 +0000 Subject: [PATCH] - Update docs. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80728 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/sockets/functions/socket-connect.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/reference/sockets/functions/socket-connect.xml b/reference/sockets/functions/socket-connect.xml index a587099537..27bb3f07ed 100644 --- a/reference/sockets/functions/socket-connect.xml +++ b/reference/sockets/functions/socket-connect.xml @@ -1,5 +1,5 @@ - + @@ -16,9 +16,9 @@ &warn.experimental.func; - Initiates a connection using the socket descriptor + Initiates a connection using the socket resource socket, which must be a valid socket - descriptor created with socket_create. + resource created with socket_create. The address parameter is either an IP @@ -35,15 +35,17 @@ should be made. - &return.success; This code may be passed to - socket_strerror to get a textual explanation - of the error. + &return.success; The error code can be retrieved with + socket_last_error. This code may be passed to + socket_strerror to get a textual explanation of the + error. See also socket_bind, socket_listen, - socket_create, and + socket_create, + socket_last_error and socket_strerror.