stream_socket_accept
(PHP 5)
stream_socket_accept — Accept a connection on a socket created by stream_socket_server()
Description
resource stream_socket_accept
( resource $server_socket
[, float $timeout
[, string &$peername
]] )
peername
can also be determined later
using stream_socket_get_name().
If the call fails, it will return FALSE.
See also stream_socket_server(),
stream_socket_get_name(),
stream_set_blocking(),
stream_set_timeout(),
fgets(),
fgetss(), fwrite(),
fclose(), feof(), and
the Curl extension.