QTcpSocket
作者:互联网
QTcpSocket :: QAbstractSocket
信号:
-
readyread()
-
error()
-
QObject::connect(clientConnection->tcpSocket, SIGNAL(error(QAbstractSocket::SocketError)),
this, SLOT(displayError(QAbstractSocket::SocketError)));
abort()
state() == QAbstractSocket::ConnectedState
flush()
connectToHost()
write()
QByteArray readAll()
waitForConnected(time)
标签:tcpSocket,SocketError,error,abort,QAbstractSocket,QTcpSocket 来源: https://www.cnblogs.com/mtgold/p/15665553.html