PHP » PYTHON |
login |
register |
about
|
socket_listen(PHP 4 >= 4.1.0, PHP 5) socket_listen — Listens for a connection on a socket Description
bool socket_listen
( resource $socket
[, int $backlog= 0
] )
After the socket socket has been created using socket_create() and bound to a name with socket_bind(), it may be told to listen for incoming connections on socket . socket_listen() is applicable only to sockets of type SOCK_STREAM or SOCK_SEQPACKET. Parameters
Return ValuesReturns TRUE on success or FALSE on failure. The error code can be retrieved with socket_last_error(). This code may be passed to socket_strerror() to get a textual explanation of the error. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|