O'Reilly logo

Foundations of Python Network Programming: The comprehensive guide to building network applications with Python, Second Edition by John Goerzen, Brandon Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required