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 Swoole\Server::bind ( integer $fd , integer $uid ) : boolean

参数

fd

uid

返回值