From: Chris Donovan <alienresidents@gmail.com>
To: Randi <nightdecoder@gmail.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: UDP data
Date: Thu, 10 Feb 2011 15:14:26 +1100 [thread overview]
Message-ID: <AANLkTik991ekzViW3e_amoNiO=4LB30snwbvDrwu61Nz@mail.gmail.com> (raw)
In-Reply-To: <1297309262.2205.14.camel@godart>
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 <nightdecoder@gmail.com> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-02-10 4:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTimck7ar6JPzSnNZo_baTz1usHLeUFxkL8GaqriV@mail.gmail.com>
2011-02-03 14:50 ` dynamic shared library ratheesh k
2011-02-03 14:59 ` Michal Nazarewicz
2011-02-10 3:41 ` UDP data Randi
2011-02-10 4:14 ` Chris Donovan [this message]
2011-02-10 5:14 ` Randi
2011-02-10 15:41 ` Glynn Clements
2011-02-10 18:43 ` David Astua
2011-02-10 20:49 ` Chris Donovan
2011-03-19 21:57 ` dynamic shared library Hendrik Visage
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTik991ekzViW3e_amoNiO=4LB30snwbvDrwu61Nz@mail.gmail.com' \
--to=alienresidents@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
--cc=nightdecoder@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).