Michael O'Keefe wrote:

Becoz a UDP packet is not "complete" unless it has all the payload.
If a UDP packet arrives, and the length says 10-octets, but there were only 9, throw the packet away

No. UDP does not *require* that the packet be thrown away if it does not match checksum or length. Lots of implementations do that, but it is not required.

In fact, it would sometimes be better if UDP did *not* necessarily throw the packet out. Streaming audio and video have their own error correction that could make use of partial information.

TCP as used for things like streaming is an absolutely *wretched* protocol match. TCP requires perfection when the overarching application may not need it.

-a


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to