$uriData['fragment'];
}
}
/**
* 连接websocket服务器
* @param float $timeout 连接服务器的超时时间$this->sock) {
if ($errstr) {
throw new ServerConnectException('连接ws服务器失败$errstr, $errno);
}
throw new ServerConnectException('连接ws服务器失败: 未知错误', __LINEstream_socket_shutdown($this->sock, STREAM_SHUT_RDWR);
}
return false;
}
/**
* ping服务器失败或服务器响应异常时调用', __LINE__);
}
throw new SocketRWException('无法读取服务器数据,错误未知', __LINE_