UDP and TCP use 1s complement for checksums. Assume you have the following 3 8-bit bytes: 01010101, 01110000, 01001100. Determine the 1s complement of sum of these 8-bit bytes? UDP and TCP utilize 16-bit words in calculating checksum, for this problem you are being asked to consider 8-bit sums. Illustrate all work. Describe why is it that UDP takes the 1s complement of the sum; that is.
Why not just use sum? With 1s complement schema, how does receiver detect errors? Is it possible that 1-bit error will go undetected? How about 2-bit error?
Describe and illustrate all addition of the three binary 8 bit bytes along with the carry over of ones in the addition of the problem.