I am writing a ping program by assembling an IP package by myself,
not calling IP protocal stack, it will run on a network development
board. I have a network cable connecting the board with my pc and will
ping the board from pc.
I just winder how to calculate the checksum for IP header and ICMP
package. I see there are several different checksum calculation
algorithm on the web, I wonder how to know what Windows ping expects
as of teh checksum.