[Qt-interest] QUdp sockets stops receiving after a while
David Boosalis
david.boosalis at gmail.com
Thu Feb 25 08:06:57 CET 2010
I have a QUdpSocket that gets data just fine for quite some time, the data
is coming in fairly fast at every 100 miliseconds over the internet. But
then after receiving a lot of messages (Sometimes a lot is 4,000 messages,
sometimes it is over 8000 messages) it just stops receiving all messages.
The server acts as the client and connects to the client for sending UPD
sockets. The server (I mean the client) still thinks it is connected and
sends data on its UdpSocket. It's QUdpSocket::state also reports that it is
connected. The problem is on Windows and Linux
Does anyone have any insite as to why a QUdpSocket might stop after working
fine for some time. Should I periodically close the port used for binding
and reopen it.
.
Any suggestions appreciated.
-David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100224/a4b8333a/attachment.html
More information about the Qt-interest-old
mailing list