🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Server->protect 设置客户端连接为保护状态,不被心跳线程切断。 ~~~ function Server->protect(int $fd, bool $value = 1); ~~~ * `$fd`要设置保护状态的客户端连接`fd` * `$value`设置的状态,`true`表示保护状态,`false`表示不保护