[Qt-interest] Console QTcpServer stalls

Jason H scorp1us at yahoo.com
Thu Oct 22 20:45:45 CEST 2009


I have a multi-threaded QTcpSever.

It runs fine most of the time, but once in a while It will get "hung up" on a connection. It is a console app, so what I do is hit control-C in the console and then it floods with all the requests that have been made since it stalled.

I am wondering what might be doing this? This is against Qt 4.4. 

The listen() call is never interrupted by my code. And all incommingConnection() does is setup and start the thread. So nothing should be preventing more connections from getting accepted.

Any ideas?

Thanks.


      



More information about the Qt-interest-old mailing list