UDP provides best effort delivery of packets, and is commonly used for latency-sensitive applications such as VoIP, or online games.


UDP datagram structure

The header comprises:

  • Source port specifies the source of the traffic.
  • Destination port specifies the destination port of the traffic.
  • Length contains the total size of the segment, including the data and header sections.
  • Checksum contains a CRC for verifying integrity.