PHP Swoole\Server::listen()函数_用法及示例_PHP4,PHP5,PHP7,PHP8函数大全 - 汉王在线工具箱-好用的在线工具都在这里!
English | 简体中文 | 繁體中文
查询

Swoole\Server::listen()函数—用法及示例

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


适用版本(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
补充纠错
上一个函数: Swoole\Mmap::open()函数
热门PHP函数
分享链接