> >How come UDP needs an explicit field then? > > 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
UDP verifys integrity and correct length of a UDP packet by the checksum. Length field not required to make sure "complete". Still seems like UDP length field serves no purpose that can't be done some other way. Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
