diff --git a/functions/network.xml b/functions/network.xml index d313a809f7..61a48c6fb9 100644 --- a/functions/network.xml +++ b/functions/network.xml @@ -730,6 +730,62 @@ echo $out; + + + socket_get_status + + Returns information about existing socket resource + + + + Description + + + array socket_get_status + resource + socket_get_status + + + + + Returns information about an existing socket resource. Currently + returns four entries in the result array: + + + + + timed_out (bool) - The socket timed out + waiting for data + + + + + blocked (bool) - The socket was blocked + + + + + eof (bool) - Indicates EOF event + + + + + unread_bytes (int) - Number of bytes + left in the socket buffer + + + + + See also + accept_connect, + bind, + connect, + listen, and + strerror. + + + + socket_set_blocking diff --git a/functions/sockets.xml b/functions/sockets.xml index 12c456086d..1b2c9278aa 100644 --- a/functions/sockets.xml +++ b/functions/sockets.xml @@ -455,62 +455,6 @@ echo "OK.\n\n"; - - - socket_get_status - - Returns information about existing socket resource - - - - Description - - - array socket_get_status - resource - socket_get_status - - - - - Returns information about existing socket resource. Currently - returns 4 entries in the result array: - - - - - timed_out (bool) - The socket timed out - waiting for data - - - - - blocked (bool) - The socket was blocked - - - - - eof (bool) - Indicates EOF event - - - - - unread_bytes (int) - Number of bytes - left in the socket buffer - - - - - See also - accept_connect, - bind, - connect, - listen, and - strerror. - - - - strerror