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

Get IP SANs: A Guide to iSCSI, iFCP, and FCIP Protocols for Storage Area Networks now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.