Swoole\Server::addlistener

(PECL swoole >= 1.9.0)

Swoole\Server::addlistenerAdd a new listener to the server.

Descripción

public Swoole\Server::addlistener ( string $host , integer $port , string $socket_type ) : void

Parámetros

host

port

socket_type

Valores devueltos