Skip to main content
edited title
Link
Zac67
  • 88.1k
  • 4
  • 73
  • 137

How does the UDP Checksum tellstell me if my data havehas changed?

Source Link
Nadax
  • 13
  • 2

How does the UDP Checksum tells me if my data have changed?

currently I am having a Computer Networking cours and I am reading "Computer Networking a Top-Down Approach"

At this point I am reading the Transport Layer part. And I have read about the checksum method which UDP provides for error detection. I understand the algorithm but I dont understand how this helps me if my application data which I have send did not get bigger or smaller and changes the length part(number)?

For example, someone is trying to manipulate my UDP Datagram and he does not change the length or some other header information he only swap the characters in the data part. Other examples are for example, by noise in the links or while stored in a router

So we have no changes in the header information and I would again the right checksume and together 1111111111111111 16-bit long number.

Maybe I miss something?