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: