View Full Version : waitForReadyRead() disconnects tcp socket?

16th September 2008, 20:07
Hi People,

Qt ver. 4.4.1

Whenever waitForReadyRead is called from (from a thread -- classic threaded server example) it disconnects the socket! :confused:

Any pointers?

Thanks in advance,
Pedro Doria Meunier

16th September 2008, 21:49
How do you know it disconnects? What waitForReadyRead() does return? Can you post some relevant code you use?
I use sockets in multithreaded applications and have never observed this, as far as I can remember (which is not too much at this point ;)).