One Comment

  1. One important concept in UDP programming is that a UDP packet is sent as a whole. The order inside the UDP packet is ensured.

    Datagram size

    “A field that specifies the length in bytes of the entire datagram: header and data. The minimum length is 8 bytes since that’s the length of the header. The field size sets a theoretical limit of 65,535 bytes (8 byte header + 65,527 bytes of data) for a UDP datagram. The practical limit for the data length which is imposed by the underlying IPv4 protocol is 65,507 bytes (65,535 − 8 byte UDP header − 20 byte IP header).” — from wikipedia.

Leave a Reply

Your email address will not be published. Required fields are marked *