Calculating

Hi ,
Can some one tell me or let me know some link where we get the theory of calculating the checksum of the network .. or theory of calculating the checksum.
I have been googling it and not finding enough to understand the checksum concept . I want to write the program to calculate of the recive data from the socket .
using socket programming in c++ .
Thanks in advance .
xxx
The checksum is an internal TCP mechanism. You don't get involved with that stuff if you're writing network programs.

Typical Server network cards will do the checksum in hardward so the network driver doesn't get involved.

If you want to know what a checksum is in general, see:
http://en.wikipedia.org/wiki/Checksum

If you want to know about the TCP checksum specifically, see:
http://en.wikipedia.org/wiki/Transmission_Control_Protocol#Checksum_computation
http://www.ietf.org/rfc/rfc793.txt
http://tools.ietf.org/html/rfc1146
Last edited on
thanks .. kbw .. it helped
Topic archived. No new replies allowed.