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)

 

 

上一篇:静态单链表-插入结点-遍历


下一篇:前端进阶(2)使用fetch/axios时, 如何取消http请求