Abstract
- A 3-way handshake which includes 4 events to start a TCP Connection
4 events
A -> B
:A
sends a SYN packet toB
, with its Initial Sequence Number (ISN) set tox
. The Acknowledgement Number is set to all zeros.A <- B
:B
ACK and informsA
that it is ready forx+1
, indicating that it has receivedA
’s SYN packet.A <- B
: Since TCP is bidirectional,B
also sends its own SYN packet toA
, with its ISN set toy
.A -> B
:A
ACK and informsB
that it is ready fory+1
, confirming that it has receivedB
’s SYN packet.For events two and three, both occur from
B
toA
, and the fields used in the TCP packet do not overlap. This means both events happen in the same packet. This is why the 3-way handshake consists of 4 events.