Swoole\Server
PHP Manual

Swoole\Server::bind

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

Swoole\Server::bindBind the connection to a user defined user ID.

说明

public boolean Swoole\Server::bind ( integer $fd , integer $uid )

参数

fd

uid

返回值


Swoole\Server
PHP Manual