[Qt-interest] QUdpSocket issue
Thiago Macieira
thiago at kde.org
Thu Jan 21 19:22:44 CET 2010
Em Quinta-feira 21 Janeiro 2010, às 12:26:34, Davide escreveu:
> I don't know exactly how the UDP stack works in windows but I think
> that there is somewhere a FIFO where the OS (or the Qt framework)
> stores all the incoming packets that are waiting to be processed. My
> idea, based on what happen to my application, is that this FIFO has a
> limited size and lose the old packets if my application isn't fast
> enough (e.g. when my pc is executing other applications).
Qt's buffers are unlimited in size. So if Qt gets the packet, it won't discard
it.
However, QUdpSocket is unbuffered. You're talking directly to the OS buffer.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100121/19d03f3c/attachment.bin
More information about the Qt-interest-old
mailing list