Summary

This document explains the User Datagram Protocol (UDP), highlighting its connectionless nature, speed, and suitability for real-time applications like online gaming and VoIP calls. It compares UDP to TCP and offers scenarios where UDP is preferred over TCP.

Full Transcript

✂ User datagram protocol (UDP) *[ Source: How to make a multiplayer game ]()* UDP is connectionless. Datagrams (analogous to packets) are guaranteed only at the datagram level. Datagrams might reach their destination out of order or not at all. UDP does not support congestion contro...

✂ User datagram protocol (UDP) *[ Source: How to make a multiplayer game ]()* UDP is connectionless. Datagrams (analogous to packets) are guaranteed only at the datagram level. Datagrams might reach their destination out of order or not at all. UDP does not support congestion control. Without the guarantees that TCP support, UDP is generally more efficient. UDP can broadcast, sending datagrams to all devices on the subnet. This is useful with [ DHCP because the client has not yet received an IP address, thus preventing a way for ]() TCP to stream without the IP address. UDP is less reliable but works well in real time use cases such as VoIP, video chat, streaming, and realtime multiplayer games. Use UDP over TCP when: You need the lowest latency Late data is worse than loss of data You want to implement your own error correction

Use Quizgecko on...
Browser
Browser