{"id":776,"date":"2026-02-21T10:26:18","date_gmt":"2026-02-21T10:26:18","guid":{"rendered":"https:\/\/networkingnotebook.com\/?p=776"},"modified":"2026-02-21T10:26:59","modified_gmt":"2026-02-21T10:26:59","slug":"udp","status":"publish","type":"post","link":"https:\/\/networkingnotebook.com\/?p=776","title":{"rendered":"UDP"},"content":{"rendered":"\n<p>In these past few blog posts, I\u2019ve discussed TCP and everything it entails, but even though it is the most used protocol by applications, others transport data via UDP (User Datagram Protocol.) UDP is used for applications such as SNMP, DHCP, TFTP, and Syslog. Unlike TCP, UDP is connectionless meaning it doesn\u2019t need to form a connection before sending data to a destination. It also provides no sequencing, retransmissions, or any type of acknowledgements. Although this sounds like a bad idea it really isn\u2019t for certain applications that are real-time or time-sensitive. If you\u2019re playing Call of Duty and start experiencing lag, would you want to rewind back before the lag, or just pick up when the lag ends. For me personally, I would just want to pick up when the lag ends instead of continual rewinding every time the game lags.&nbsp;<\/p>\n\n\n\n<p>If a\u00a0 UDP segment is lost, it is lost for good because UDP itself does not perform any retransmissions. However applications that run on UDP such as TFTP can still perform reliability mechanisms at the application layer. TFTP is known for lock-step communication meaning that the sender sends a block of data and will not send another block of data until an ACK is received. If the sender doesn\u2019t receive an ACK within a certain timer, it will retransmit the exact same packet. Although TFTP runs on UDP, this lock-step coordination is executed at the application layer. Time-sensitive applications can be VoIP, online gaming, live streaming, and much more.\u00a0<\/p>\n\n\n\n<p>UDP is a lightweight protocol that is used for applications that prioritize speed over reliability. It runs extremely lean with only 4 fields in the header including source port, destination port, length and checksum. For IPv4 it can even be optional making it even more lean reducing processing overhead.&nbsp;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In these past few blog posts, I\u2019ve discussed TCP and everything it entails, but even though it is the most used protocol by applications, others transport data via UDP (User Datagram Protocol.) UDP is used for applications such as SNMP, DHCP, TFTP, and Syslog. Unlike TCP, UDP is connectionless meaning it doesn\u2019t need to form&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-776","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=\/wp\/v2\/posts\/776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=776"}],"version-history":[{"count":3,"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":779,"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=\/wp\/v2\/posts\/776\/revisions\/779"}],"wp:attachment":[{"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/networkingnotebook.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}