From 3a14a9c1842be2748c11663d9e514e674d8f49c6 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Fri, 6 Jul 2001 09:45:22 +0000 Subject: [PATCH] true/false literalized. socket parameters are resources removed one extra dot in See also list. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50660 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/sockets.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/functions/sockets.xml b/functions/sockets.xml index 055d095e91..f8b83e3445 100644 --- a/functions/sockets.xml +++ b/functions/sockets.xml @@ -166,7 +166,7 @@ echo "OK.\n\n"; int accept_connect - int socket + resource socket @@ -220,7 +220,7 @@ echo "OK.\n\n"; int bind - int socket + resource socket string address int port @@ -274,7 +274,7 @@ echo "OK.\n\n"; bool close - int socket + resource socket @@ -290,8 +290,8 @@ echo "OK.\n\n"; accept_connect. - Returns true on success, or false if an error occurs (i.e., - socket is invalid). + Returns TRUE on success, or FALSE + if an error occurs (i.e., socket is invalid). See also bind, listen, @@ -312,7 +312,7 @@ echo "OK.\n\n"; int connect - int socket + resource socket string address int port @@ -364,7 +364,7 @@ echo "OK.\n\n"; int listen - int socket + resource socket int backlog @@ -408,7 +408,7 @@ echo "OK.\n\n"; int read - int socket_des + resource socket_des string buffer int length int type @@ -444,7 +444,7 @@ echo "OK.\n\n"; connect, listen, strerror, - socket_get_status. and + socket_get_status and write. @@ -576,7 +576,7 @@ if (($ret = bind ($socket, '127.0.0.1', 80)) < 0) { int write - int socket_des + resource socket_des string &buffer int length