0

I'm reading the book Data Communications and Networking 4th Edition Behrouz-Forouzan. I have a question in an exercise that asked me the following: The receiver of a message uses the checksum technique (Checksum) for 8-bit characters and get the following information

100101000011010100101000

. How I can know if the Data sent is correct or not? and why?

I Learned how to calculate the checksum in hexadecimal values, but do not understand as determined by a binary output, if the information is correct.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
franvergara66
  • 10,524
  • 20
  • 59
  • 101

1 Answers1

1

The sender calculates checksum to the data are sends it with the data in same message.

The receiver calculates the checksum again to the received data and checks if result matches with the received checksum.

There is still a chance that both the data and checksum got modified during transmission so they still match but the likelihood of that happening because of random noise is extremely low.

Öö Tiib
  • 10,809
  • 25
  • 44