3.2. Opening a Connection
The connection-oriented nature of TCP stipulates the need to establish and terminate connections. Figure 3.2 shows message exchange for connection establishment. The initiator (host A) sends a TCP segment with a SYN bit set to the recipient (host B). Host A also picks an initial sequence number for the data stream from A to B. If host B accepts the connection, it responds with a segment that acknowledges the SYN segment sent by A, has the SYN bit set, and contains an initial sequence number that B picks for the data stream from B to A. After host A acknowledges this segment, the connection is considered to be established, and the applications on both hosts are notified of the presence of the TCP connection. This message ...
Get Web Caching and Replication 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.