https://www.geeksforgeeks.org/user-datagram-protocol-udp/
Protocol using UDP | |
---|---|
Following implementations uses UDP as a transport layer protocol:
| |
Header | |
length | Length is the length of UDP including header and the data. It is 16-bits field. |
Checksum | Checksum is 2 Bytes long field. It is the 16-bit one’s complement of the one’s complement sum of the UDP header, pseudo header of information from the IP header and the data, padded with zero octets at the end (if necessary) to make a multiple of two octets. |