Swoole\Server::confirm()检查连接状态。适用版本(PECL swoole >= 1.9.0) Swoole\Server::confirm — 检查连接状态。 说明 public Swoole\Server::confirm(int $fd): bool 参数 fd 返回值