<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Not all packets received by QUdpSocket]]></title><description><![CDATA[<p dir="auto">I've got QUdpSocket binding some port. I make a slot which I connect with signal readyRead().  Looks like this:<br />
@  while (m_socket-&gt;hasPendingDatagrams()) {<br />
QByteArray datagram;<br />
datagram.resize(m_socket-&gt;pendingDatagramSize());<br />
QHostAddress sender;<br />
quint16 senderPort;<br />
m_socket-&gt;readDatagram(datagram.data(), datagram.size(), &amp;sender, &amp;senderPort);<br />
processDatagram(datagram, sender, senderPort);<br />
}@<br />
When I send a lot of datagrams(200 or more) from another program to binding port I receive not all of them (but in Wireshark I can see all of them). If I make some waiting before sending each command I receive them all.</p>
]]></description><link>https://forum.qt.io/topic/30881/not-all-packets-received-by-qudpsocket</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Nov 2026 02:03:57 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30881.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Aug 2013 12:18:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Not all packets received by QUdpSocket on Sat, 06 Dec 2014 10:31:07 GMT]]></title><description><![CDATA[<p dir="auto">I have this problem too . wireshark show my computer have received all the pack,but my qudpsocket can't.<br />
In my case,when I minimize my qt app window ,my app can receive all the pack with no problem.BUT when I move my mouse pointer around over my app, qudpsocket loss pack badly.</p>
]]></description><link>https://forum.qt.io/post/201690</link><guid isPermaLink="true">https://forum.qt.io/post/201690</guid><dc:creator><![CDATA[wangyinhu]]></dc:creator><pubDate>Sat, 06 Dec 2014 10:31:07 GMT</pubDate></item><item><title><![CDATA[Reply to Not all packets received by QUdpSocket on Sat, 06 Dec 2014 10:31:07 GMT]]></title><description><![CDATA[<p dir="auto">I have this problem too . wireshark show my computer have received all the pack,but my qudpsocket can't.<br />
In my case,when I minimize my qt app window ,my app can receive all the pack with no problem.BUT when I move my mouse pointer around over my app, qudpsocket loss pack badly.</p>
]]></description><link>https://forum.qt.io/post/253413</link><guid isPermaLink="true">https://forum.qt.io/post/253413</guid><dc:creator><![CDATA[wangyinhu]]></dc:creator><pubDate>Sat, 06 Dec 2014 10:31:07 GMT</pubDate></item><item><title><![CDATA[Reply to Not all packets received by QUdpSocket on Mon, 19 Aug 2013 13:08:56 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="koahnig" date="1376915486"]<br />
For your application do you check this in debug mode and in the debugger?</p>
<p dir="auto">If, yes, this might have additional delays in processing which might explain the missing packages. [/quote]</p>
]]></description><link>https://forum.qt.io/post/191578</link><guid isPermaLink="true">https://forum.qt.io/post/191578</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Mon, 19 Aug 2013 13:08:56 GMT</pubDate></item><item><title><![CDATA[Reply to Not all packets received by QUdpSocket on Mon, 19 Aug 2013 12:43:45 GMT]]></title><description><![CDATA[<p dir="auto">I'm talking not about sequence I'm talking about number of datagrams. From one side I sent 200 datagrams, from another(in debuger mode) in slot I received only 50. In Wireshark I see all 200, that means that packets received by network interface without losses.</p>
]]></description><link>https://forum.qt.io/post/191575</link><guid isPermaLink="true">https://forum.qt.io/post/191575</guid><dc:creator><![CDATA[Anticross]]></dc:creator><pubDate>Mon, 19 Aug 2013 12:43:45 GMT</pubDate></item><item><title><![CDATA[Reply to Not all packets received by QUdpSocket on Mon, 19 Aug 2013 12:31:26 GMT]]></title><description><![CDATA[<p dir="auto">I guess you are aware of the implications of udp. There is no guarantee to receive all packets nor to receive them all in the right sequence.</p>
<p dir="auto">For your application do you check this in debug mode and in the debugger?</p>
<p dir="auto">If, yes, this might have additional delays in processing which might explain the missing packages.</p>
]]></description><link>https://forum.qt.io/post/191566</link><guid isPermaLink="true">https://forum.qt.io/post/191566</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Mon, 19 Aug 2013 12:31:26 GMT</pubDate></item></channel></rss>