Skip to content

dawnl3ss/Three-Way-Handshake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Three Way Handshake

πŸ’» An example of a TCP-Handshake (Three-Way-Handshake) written in Python.

🌐 TCP uses a three-way handshake to establish a reliable connection. The connection is full duplex, and both sides synchronize (SYN) and acknowledge (ACK) each other. The exchange of these four flags is performed in three stepsβ€”SYN, SYN-ACK, and ACK.

πŸ“Œ Scheme :

πŸ“Œ Example :

πŸ“Œ How to start it ?

Open two differents shells and run the files in each shell.
Run the server.py file before the client.py file.

python3 server.py
python3 client.py

Releases

No releases published

Packages

No packages published

Languages