Chapter 3. TCP
The Transmission Control Protocol (TCP) is the workhorse of the Internet. First defined in 1974, it lets applications send one another streams of data that, if they arrive at all—that is, unless a connection dies because of a network problem—are guaranteed to arrive intact, in order, and without duplication.
Protocols that carry documents and files nearly always ride atop TCP, including HTTP and all the major ways of transmitting e-mail. It is also the foundation of choice for protocols that carry on long conversations between people or computers, like SSH and many popular chat protocols.
When the Internet was younger, it was sometimes possible to squeeze a little more performance out of a network by building your application atop ...
Get Foundations of Python Network Programming: The comprehensive guide to building network applications with Python, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.