socket_accept
(PHP 4 >= 4.0.7, PHP 5)
socket_accept — Accepts a connection on a socket
Description
resource socket_accept ( resource $socket )
The socket resource returned by socket_accept() may not be used to accept new connections. The original listening socket socket , however, remains open and may be reused.
Return Values
Returns a new socket resource on success, or FALSE on error. The actual error code can be retrieved by calling socket_last_error(). This error code may be passed to socket_strerror() to get a textual explanation of the error.