TCP- 3way Handshake

When two computers want to communicate via TCP, they should have to form a 3-way handshake.

Now lets see how it forms 3-way handshake.

Consider 2 computers, Computer A and Computer B, wants to set up a 3-way handshake connection.

First Computer A sends a SYN bit, with its sequence own sequence number,(Consider here as 1).


As soon as computer B receives the Syn Bit with Sequence number, Computer B replies with ACK bit,

The computer B send also Syn bit with ACK bit, with its own Seq number, (here Seq number is 100) and send an ACK bit no.2, for an reply from the previous step of seq number 1.

Computer A responds with ACK number 101 with its own sequence number 2 for an seq number 100 from Computer B.


Over all Process
1. SYN
2. SYN, ACK,
3. ACK

That's it about TCP 3-way handshake

You can also Look into my Video Tutorial

Post a Comment