|
TCP basics
|
|
TCP is one of the key protocols in today's Internet. A TCP connection always starts with a three-way handshake. The exercises below should help you to improve your understandings of this first phase of a TCP connection.
|
|
Once the connection is established, the client and the server can exchange data and acknowledgments.
|
|
A connection ends with the transmission of segments that include the `FIN` flag that marks the end of the data transfer.
|
|
TCP can be extended by using options that are negotiated during the three-way handshake.
|
|
With your knowledge of TCP, you should now be able to reorder all the segments exchanged over a TCP connection.
|
|
Footnotes
|