[ILUG-BOM] Buggy C prog

Manish Jethani manishj@[EMAIL-PROTECTED]
Sat Sep 28 01:23:56 IST 2002


Satya wrote:

 > While we're at it, do sendto() and recvfrom() send and
 > receive a full packet, assuming it's SOCK_DGRAM (UDP)?

Yes.  UDP is supposed to preserve packet boundaries.  The packet
may get fragmented and reassembled at the IP layer but this is
transparent (someone correct me if I'm wrong).

Manish





More information about the Linuxers mailing list