PHP 8.1.0 Released!

Swoole\Server::addlistener

(PECL swoole >= 1.9.0)

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

说明

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

参数

host

port

socket_type

返回值

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top