title: How to calculate the length of UDP payload?
body: <p>I am sending a payload <strong>TESTING</strong>. I am trying to calculate the checksum for the UDP header which requires UDP total length. UDP header length is 8 bytes. Can anyone explain me how to calculate the data length with the above given payload. I tried searching the internet but could not find the relevant answer.</p>