7.2. Chapter Summary
TCP
TCP is a connection-oriented transport protocol.
TCP initializes a connection between two hosts before data is transferred.
Data is acknowledged by the recipient.
TCP provides error recovery and reordering of out-of-sequence segments.
The TCP/IP stack is CPU intensive for the host system.
TCP Header
The TCP header is typically 20 bytes in length.
Source and destination port numbers are used to communicate with specific upper layer applications.
The ACK flag in the TCP header indicates that acknowledgment numbers are valid.
The SYN bit is set when a TCP connection is initialized.
The finish bit is used to tear down a TCP connection when data transfer is complete.
Establishing TCP Connections
TCP connection establishment is a three-way ...
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