Re: UDP data

Chris Donovan <[email protected]> Thu, 10 Feb 2011 15:14:26 +1100
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
Yes the checksum is for the header and data.
Keep in mind that the checksum value is optional in ipv4, but required in ipv6.

Chris-

On Thu, Feb 10, 2011 at 2:41 PM, Randi <[email protected]> wrote:
> Hi All,
>
>        Since UDP socket is not reliable, what the common way in user level to
> check UDP communication's data for error (eg. malformed, corrupted,
> etc.)? is the checksum field in the UDP header (struct udphdr) intended
> to this problem?
>
>        Randi
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html