[prev] [prev-tail] [tail] [up]

11.2 User Datagram Protocol (UDP)

UDP is similar to IP in that both are unreliable, connectionless protocols that use datagrams for data delivery.

 |------------------|------------------|
 |   source port    | destination port  |
 |-----16-bits------|-----16--bits------|
 | message  length   |    checksum      |
 |     16-bits      |     16 -bits      |
 |-------------------------------------|
~~|             data area              ~~|
 ---------------------------------------

Unlike the IP checksum, the UDP checksum includes the data area in the calculations. However, the protocol does not require that the checksum will be calculated. The TCP and IP, on the other hand, require that the calculation will take place.

[prev] [prev-tail] [front] [up]