Swoole\Server::listen
(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Swoole\Server::listen — Listen on the given IP and port, socket type.
说明
public
Swoole\Server::listen (
string
$host
,
integer $port
,
string $socket_type
) :
boolean
参数
-
host
-
-
port
-
-
socket_type
-
返回值