7.1. TCP
TCP is a connection-oriented transport protocol. Instead of simply pushing data from source to destination, TCP first establishes a transmission connection between the communicating pair and imposes a system of datagram acknowledgments to ensure that each transmission arrives intact. TCP also provides a mechanism to recover from packet loss resulting from failures or network congestion. Although UDP requires attention to local network design to avoid burdening upper layer applications with recovery routines, TCP is engineered to withstand lossy environments, and it takes on the recovery task itself. This removes responsibility from the upper layer applications, but adds complexity to the transport.
Because TCP is optimized for potentially ...
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