...){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken server connection'); }} 检测服务端的连接情况
...述定义于 check() 检测服务端的连接情况 XSServer connect() 连接服务端 XSServer read() 读取数据 XSServer write() 写入数据 XSServer 属性明细 _conn 属性 protected $_conn; _flag 属性 protected $_flag; _project 属...