socket_listen(PHP 4 >= 4.0.7, PHP 5) socket_listen — Listens for a connection on a socket Описание
bool socket_listen
( resource $socket
[, int $backlog
] )
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. Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. 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. |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |