TCP 3-Way Handshake Simple Explanation

My computer develop environment

1
2
3
4
$ sw_vers 
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G29
1
2
3
4
5
6
7
8
Host A sends a TCP SYNchronize packet to Host B
Host B receives A's SYN

Host B sends a SYNchronize-ACKnowledgement
Host A receives B's SYN-ACK

Host A sends ACKnowledge
Host B receives ACK.

TCP socket connection is ESTABLISHED.

It means that

STEP Sender Receiver Purpose
1 Host A Host B B knows A can send
2 Host B Host A A knows B can receive and send
3 Host A Host B B knows A can receive

TCP socket connection is ESTABLISHED.

Share