Swoole\Server::__construct

(PECL swoole >= 1.9.0)

Swoole\Server::__constructConstruct a Swoole server.

说明

public Swoole\Server::__construct ( string $host [, integer $port [, integr $mode [, integer $sock_type ]]] )

参数

host

port

mode

sock_type