Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.9.0, 5.9.1
-
None
Description
The Qt5.9 QTcpSocket connectToHost() fail on macOS10.12.4 and windows 10. And test on Qt5.9 OK
The code following:
int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QTcpSocket client; client.connectToHost(QHostAddress("10.176.0.22"), 13); if(client.waitForConnected()) qDebug()<<"Here0"; QAbstractSocket::SocketState state = client.state(); qDebug()<<state; if(client.waitForReadyRead()) qDebug()<<"Here1"; qDebug()<<client.readAll(); return a.exec(); }
The output of value "state" is :
QAbstractSocket::UnconnectedState