= 1.9.0)Swoole\Server::listen — Listen on the given IP and port, socket type.說明public Swoole\Server::listen(string ">

Swoole\Server::listen

(PECL swoole >= 1.9.0)

Swoole\Server::listenListen on the given IP and port, socket type.

說明

public Swoole\Server::listen(string $host, int $port, string $socket_type): bool

參數(shù)

host

port

socket_type

返回值