0

I am new to networking and was learning about the UDP Protocol and i came through the term UDP checksum. I searched the internet spent so much time finding the correct way to calculate the UDP checksum but no one is teaching the exact way to calculate the UDP checksum. I am stuck at this point. Kindly teach me how to calculate the UDP checksum. I shall be thankful to you for this favour.

2
  • 2
    " I searched the internet spent so much time finding the correct way to calculate the UDP checksum but no one is teaching the exact way to calculate the UDP checksum." - I think you either need to improve your skills of searching or lower your expectations of what you get. I recommend you start with the obvious wikipedia: UDP which describes the algorithm used in detail and also links to documents like RFC 1071 with pseudo code. And just searching for udp checksum code is also useful Nov 4, 2023 at 7:27
  • We don't teach here, we answer on-topic questions as detailed in the help center. And it's really all in RFC 768...
    – Zac67
    Nov 4, 2023 at 9:44

0