Swoole\Server::listen

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

host

port

socket_type

Return Values