botman wrote:
Many devices use a 1400 byte limit for
the MTU.  Any packets larger than this can be split into multiple packets.
IP will preserve the sequence of these packets and reassemble them in the
correct order when they reach the destination (even if the packets take
different paths to the destination and the first packet arrives at the
destination after subsequent packets have arrived).
Correct.

UDP does NOT do this.
UDP will not re-sequence packets and preserve their original structure.  It
is up to the sending/receiving applications to deal with this problem.
What does that have to do with it? Fragmentation and reassembly is
done on the IP layer. The protocol layer doesn't ever see
fragments as the IP layer will have them already reassembled
before they are passed to UDP.

The difference is that TCP has mechanisms to determine the size of
the maximum datagram that can be processed by the remote host and
is careful to avoid fragmentation. UDP has no such mechanism and
the application has to take steps to avoid fragmentation on its
own. But that is handled on the application layer.


Florian.

--
Want to produce professional emails and Usenet postings?
http://www.netmeister.org/news/learn2quote.html

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to