PHP - Manual: Swoole\Server::addlistener
2025-02-27
(PECL swoole >= 1.9.0)
Swoole\Server::addlistener — Add a new listener to the server.
$host
$port
$socket_type
host
port
socket_type
官方地址:https://www.php.net/manual/en/swoole-server.addlistener.php