Server->protectServer->protect设置客户端连接为保护状态,不被心跳线程切断。 function Server->protect(int $fd, bool $value = 1); $fd 要设置保护状态的客户端连接fd$value 设置的状态,true表示保护状态,false表示不保护