PDA

View Full Version : Wait in thread till QTcp socket have some thing to read



hasnain
8th September 2010, 07:58
I have QTcpSocket in a thread and i a have to make thread wait till socket has something to read. any Qt class or something available for this purpose.
please help.

tbscope
8th September 2010, 07:59
Please read doc.qt.nokia.com

hasnain
14th September 2010, 12:46
I found the answer its
QTcpSocket::waitForReadyRead();