O'Reilly logo

Understanding TCP/IP by Libor Dostálek, Alena Kabelová

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. User Datagram Protocol

User Datagram Protocol (UDP) is a simple alternative to TCP. UDP is a connectionless service, it does not establish a connection, in contrast to TCP. The source party sends a UDP datagram to the destination party and then stops worrying about the datagram getting lost (this is a job for the application protocol).

UDP datagrams are enveloped in an IP datagram as shown in the following figure:

User Datagram Protocol

Figure 10.1: UDP datagram header

As you can see from the figure above, a UDP header is very simple. It contains the numbers of both the source and destination ports completely analogous to TCP. Again, it is important to mention ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required