Swoole\Server
PHP Manual

Swoole\Server::listen

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

public boolean Swoole\Server::listen ( string $host , integer $port , string $socket_type )

Parameters

host

port

socket_type

Return Values


Swoole\Server
PHP Manual