PHP ʖ²ἯTH
º/A
socket_listen
Description
¾¯¸漯B
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.
ע: The maximum number passed to the backlog parameter highly depends on the underlying platform. On linux, it is silently truncated to SOMAXCONN. On win32, if passed SOMAXCONN, the underlying service provider responsible for the socket will set the backlog to a maximum reasonable value. There is no standard provision to find out the actual backlog value on this platform.
See also socket_accept(), socket_bind(), socket_connect(), socket_create() and socket_strerror().
º/A
ưµ㼯A
socket_last_error
ɏһ¼¶
socket_read