cho.sh
Checksum

Checksum

Warning

This post is more than a year old. Information may be outdated.

UDP Checksum

Sender

  • Add the entire segment's content as one's complement by splitting 16 bits at a time
  • Attaches the checksum value

Recipient

  • Compute the checksum again and see if it is a match