... new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken server connection'); }} 检测服务端的连接情况 close() 方法 public void close(bool $ioerr=false) $ioerr bool 关闭调用是否由于 IO 错误...