[Qt-interest] QAbstractSocket::waitForReadyRead() is not working
Patric
userqt at gmail.com
Sun May 31 15:45:22 CEST 2009
Hi all,
I need to implement some timeout here. I'm using UDP to send some SNMP messages, I'm binding the socket so I can receive some answer.
Here's my code :
bool test = udpSocket.waitForReadyRead(50000);
but it always returns false. It's not even waiting for the seconds specified, it's just returning false immdiately.
Does anyone know why ?
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090531/e4e495e4/attachment.html
More information about the Qt-interest-old
mailing list