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.

# TCP

Thank you for reading.
This post is copyrighted by Liyuliang’s Blog.
If reproduced, please indicate the source: Liyuliang’s Blog
This blog uses Creative Commons Attribution-NonCommercial-Share-Sharing 4.0 International License Agreement to license.


Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×