socket_create_listen
reactphp/socket
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Opens a socket on port to accept connections
<?php socket_create_listen
(
int $port
,
int $backlog
=
128
):
Socket
|
false