From 2e5ba5800ce550c599cd35f556ef31253593f7c1 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Wed, 2 Jan 2002 11:45:00 +0000 Subject: [PATCH] socket_read: fix prototype, documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66674 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/sockets.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/functions/sockets.xml b/functions/sockets.xml index 66ea791d6f..c9bf2d9f3e 100644 --- a/functions/sockets.xml +++ b/functions/sockets.xml @@ -1,5 +1,5 @@ - + Socket functions Sockets @@ -419,7 +419,6 @@ echo "OK.\n\n"; int socket_read resource socket_des - string buffer int length int type @@ -427,11 +426,10 @@ echo "OK.\n\n"; &warn.experimental.func; The function socket_read reads from socket - socket_descreated by the - socket_accept function into - buffer the number of bytes set by + socket_des created by the + socket_accept function the number of bytes set by length. Otherwise you can use \n, \t or \0 to - end reading. Returns number of bytes that have been read. + end reading. Returns the bytes that were read. Optional type parameter is a named constant: