The problem has been described here by someone else: "https://forum.qt.io/topic/48193/qt-5-4-qtcpsocket-failure-in-winrt-with-qnativesocketengineprivate-nativeconnect-could-not-obtain-connect-action"
Connecting to a TCP server with "QTcpSocket::connectToHost()" fails on Windows Phone (and WinRT) and the socket never reaches the "Connected" state. Calling "QTcpSocket::waitForConnected(time)" immediately returns false. The remote server receives the connection request form the QTcpSocket.
|For Gerrit Dashboard: QTBUG-46339|
|114784,4||winrt: Fixed connectToHost, which is meant to be synchronous||5.5.0||qt/qtbase||Status: MERGED||+2||0|
|120727,6||Fixed connectToHost||5.5||qt/qtbase||Status: MERGED||-2||0|