Swoole\Server::addlistener
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Add a new listener to the server.
Description
Swoole\Server::addlistener(string $host, int $port, string $socket_type): void
Parameters
hostportsocket_type