Re: Max UDP message size

From: - (cbdeja_at_my-deja.com)
Date: 04/06/04


Date: 6 Apr 2004 08:46:31 -0700

Casper H.S. *** <Casper.***@Sun.COM> wrote in message news:<40726ecb$0$575$e4fe514c@news.xs4all.nl>...
> [64k is] the "maximum" datagram size; the system will transmit only as
> many bytes as it need. Note that UDP packets larger than +/- 1460 bytes
> generally need fragmentation and a single missing fragment will cause
> the whole packet to be lost; so you are advised to keep the packets
> small.

Are the terms "datagram" and UDP "packet" the same thing here?

So if I understand correctly you can send a maximum of 64kB in a
single send (or RPC), but the data may get fragmented into several
smaller pieces. Where does this fragmentation and re-constitution
occur - is it all done at a lower level (IP) that is transparent to
the sending and receiving program?