The Connection Process

Now that you have been introduced to basic concepts of TCP, it is time to go into the actual process behind establishing and terminating connections and transferring data over a network. TCP implements a three-step process for establishing and terminating connections. However, to implement a stable and problem-free connection, you must determine the maximum size of the segments to be transmitted before beginning the actual transmission. You can view the current state of a connection by using the netstat utility provided by Windows.

The Three-Way Handshake

Establishing a connection between two machines follows a three-step process, called a three-way handshake, where the machines exchange sequence numbers and acknowledgments ...

Get Special Edition Using TCP/IP, Second Edition 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.