December 2001
Intermediate to advanced
400 pages
12h 2m
English
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 ...