Hi,

If I use a socket into a QThread, and the "run()" method can lock itself depending on a QWaitCondition, the socket will continue reciving the network data until the thread is locked?

I want a QThread that sends messages(depending on the app state, user interaction, ...), but the QThread must not send any message until recives the confirmation of the previous message:

QThread(with QTcpSocket) Client
|-->send message------------------------------------------------>recive message
|
| locked untiil recive message (doing some jobs)
|
|--- unlock thread<-------------------------------------------------send confirmation


Thanks,