The notorious IP checksum algorithm

I have been asked several times to explain the checksum calculation used in the IP suite (IPv4, TCP and UDP all utilize the same checksum algorithm).RFC 791, which defines IPv4, gives the checksum algorithm as follows :The checksum field is the 16 bit one's complement of the one'scomplement sum of all 16 bit words in the header. For purposes ofcomputing the checksum, the value of the checksum