Computer Networks · Problem type

The TCP handshake

Use this for “Put the segments that open, use and close a TCP connection in order.”

Put in order

Put the steps of a TCP connection, from opening to closing, in order.
1
?
2
?
3
?
4
?
5
?
6
?

Assumptions

•
x and y are the client’s and the server’s starting sequence numbers, each picked at random.
•
SYN and FIN each use up one sequence number, so the reply acknowledges x + 1 or y + 1.
•
Each side closes its own direction, so closing takes a FIN and an ACK each way.
Topic check
See what you know: 5 questions on this topic
New questions each time. Pass to mark it complete.

Related lessons

© 2026 SME. All rights reserved.