PHP ʖ²ἯTH
º/A
socket_create_listen
Description
¾¯¸漯B
This function is meant to ease the task of creating a new socket which only listens to accept new connections.
The backlog parameter defines the maximum length the queue of pending connections may grow to. SOMAXCONN may be passed as backlog parameter, see socket_listen() for more information.
ע: If you want to create a socket which only listens on a certain interfaces you need to use socket_create(), socket_bind() and socket_listen().
º/A
ưµ㼯A
socket_connect
ɏһ¼¶
socket_create_pair