So I've been trying to send some long UDP datagrams, as in like 3000 bytes.
(You can probably tell where this is going).
They seem to get broken up into blocks of 1024 bytes.
I've heard from a couple folks the specification states UDP should be able to send 65000 bytes without breaking it up. In actual practice it happens much sooner.
The Qt docs mention (on the QUdpSocket page) that anything larger than 512 bytes is likely to get broken up by the IP layer. How can the specification say it is so large while it is so low in actual practice?
Does anyone know of a workaround that doesn't involve adding headers and checking?
Bookmarks