Question: 1. Checksums: UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8-bit bytes: 01010011,01100110,01110100. a. What is the 1s

1. Checksums: UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8-bit bytes: 01010011,01100110,01110100. a. What is the 1s complement of the sum of these 8-bit bytes? (Note that although UDP and TCP use 16-bit words in computing the checksum, for this problem you are being asked to consider 8-bit sums.) Show all work. b. Why is it that UDP takes the 1 s complement of the sum; that is, why not just use the sum? c. With the 1 s complement scheme, how does the receiver detect errors? d. Is it possible that a 1-bit error will go undetected? e. How about a 2-bit error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
