UDP and TCP use ones complement for their checksums. Suppose you have the following three 8-bit bytes:
Fantastic news! We've Found the answer you've been seeking!
Question:
UDP and TCP use ones complement for their checksums.
Suppose you have the following three 8-bit bytes: 11011010 10101000 11011011
What is the ones complement of the sum of these 8-bit bytes?
Compute the ones complement of the sum of 10111011 and 11001100. Compute the ones complement of the sum of 10111011 and 00110101.
Compute the ones complement of the sum of 11110011 and 11000001.
Is it possible that a 1-bit error will go undetected with a ones complement checksum?
Give an example of two separate 1-bit errors that will not be detected with a ones complement checksum.
Related Book For
Computer Networking A Top-Down Approach
ISBN: 978-0136079675
5th edition
Authors: James F. Kurose, Keith W. Ross
Posted Date: