Skip to content
ITAV
Engineering Academy

TCP Connection Lifecycle

Network Fundamentals

Networking labs

Overview

TCP creates state through SYN, SYN-ACK and ACK. Sequence numbers track byte streams; acknowledgements report the next expected byte. Retransmission handles loss, and flow control protects the receiver. FIN closes a direction gracefully; RST aborts state.

Protocol stages

  1. 1SYN
  2. 2SYN-ACK
  3. 3ACK
  4. 4Data / acknowledgement
  5. 5FIN / ACK

Interactive exercise

Knowledge check

Client sends SYN with sequence 100. What acknowledgement should the server SYN-ACK contain?

Answers

Educational model — not real hardware, traffic or official certification.

Sign in to save conversations