QWebSocket连接状态码

来源:互联网 发布:什么软件看电子书免费 编辑:程序博客网 时间:2024/05/16 12:11
ConstantValueDescriptionQAbstractSocket::UnconnectedState0The socket is not connected.QAbstractSocket::HostLookupState1The socket is performing a host name lookup.QAbstractSocket::ConnectingState2The socket has started establishing a connection.QAbstractSocket::ConnectedState3A connection is established.QAbstractSocket::BoundState4The socket is bound to an address and port.QAbstractSocket::ClosingState6The socket is about to close (data may still be waiting to be written).QAbstractSocket::ListeningState5For internal use only.