UDP
The User Datagram Protocol (UDP) is a connectionless protocol. This protocol is used where data integrity is not as important. Whereas TCP used a strict set of rules to ensure data arrived unmangled and assembled in the correct order and error free, UDP does just the opposite. UDP/IP is normally used for small, discreet packages with order or correctness a secondary concern to network efficiency.
Sending a UDP packet is like putting a note in a bottle and throwing it into the sea and then turning your back and walking away. Maybe it will get where it's going and maybe not. UDP is used for DNS queries, where all the information will fit in one packet. If the packet doesn't arrive, DNS will just ask again until it does. UDP is also used ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access