= 1.9.0)Swoole\Server::addlistener — Add a new listener to the server.說明public Swoole\Server::addlistener(stri">
(PECL swoole >= 1.9.0)
Swoole\Server::addlistener — Add a new listener to the server.
$host
, int $port
, string $socket_type
): void
host
port
socket_type