Swoole\Server::listen()

监听给定的IP和端口,套接字类型

首字母:S
适用版本(PECL swoole >= 1.9.0)

Swoole\Server::listen — 监听给定的IP和端口,套接字类型。

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

参数
host
port
socket_type

同首字母函数