The User Datagram Protocol

As defined in RFC 768, a UDP is a connectionless protocol, which is great for transmitting real-time data between hosts and is often termed as an unreliable form of communication. The reason is, UDP doesn't care about the delivery of packets, and any lost packets are not recovered because the sender is never informed about the dropped or discarded packets. However, many protocols such as DNS, TFTP, SIP, and so on. rely only on this.

The protocols that use UDP as a transport mechanism should rely upon other techniques to ensure data delivery and error-checking. A point to note is that UDP provides faster transmission of packets as it does not perform three-way handshake or graceful termination as observed in the ...

Get Wireshark 2 Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.