Foundations of Python Network Programming: The comprehensive guide to building network applications with Python, Second Edition
by Brandon Rhodes, John Goerzen
Chapter 2. UDP
The previous chapter asserted that all network communications these days are built atop the transmission of short messages called packets that are usually no longer than a few thousand bytes. Packets each wing their way across the network independently, free to take different paths toward the same destination if redundant or load-balanced routers are part of the network. This means that packets can arrive out of order. If network conditions are poor, or a packet is simply unlucky, then it might easily not arrive at all.
When a network application is built on top of IP, its designers face a fundamental question: will the network conversations in which the application will engage best be constructed from individual, unordered, and ...
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