[Qt-interest] QTcpSocket reconnect problem

jani at wbsources.com jani at wbsources.com
Thu Nov 4 12:34:00 CET 2010


Dear members,

I have problem with QTcpSocket on windows.
When I first run my gui application I can connect to the host, send and
receive data and finally close the connection, but if I try to connect
again my app stucks in QAbstractSocket::ConnectingState. This ends up with
connection timed out error message after 1 minute. If I restart the
application I can connect immediately and send/receive data.
On Linux I have no problem, I can reconnect immediatelly. I am using the
same network on both computer, so it is not a local network problem.
Does anyone experienced with similar problem?

Thank you for responses.





More information about the Qt-interest-old mailing list