• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

why not a two way handshake, why a three way handshake

rookie1010

Senior member
Hello,

you guys might have heard this question before, i basically want to know why we cant have a two way handshake, why is a three way handshake necessary.

why does a TCP/IP handshake need to be three-way. why can't it be two-way?

e.g. client A tells server B i want to communicate with you (Sync)
Server B tells Client A ok let's talk (sn/ack)

and then client A and server B can start talking, why then the need for the three way handshake?
 
It's needed it to syncronize and acknowledge that both sides' sequence numbers are acceptible.

1) Sync, here's my sequence number and MSS

2) Acknowledged, your SEQ is good and I will use this as your SEQ number, here's mine plus my MSS.

3) Acknowledged, I will use your SEQ number for you

Without the sequence numbers you have don't have the reliable delievery of a connection-oriened transport layer. (TCP)

 
Because, if Server B never hears back from Client A, how does Server B know that Client A can "hear" what it's saying?

Different analogy:

--You asked a question here.
--spidey07 and I answered the question.
--We never heard back from you? How do we know if you read our answers? Do we need to email you the answers?
 
Assume the first Sync message from the sender did not reach the reciever. Then, is the management of this problem the same when we consider 2 way handshake and 3 way handshake? thank you.
It's needed it to syncronize and acknowledge that both sides' sequence numbers are acceptible.

1) Sync, here's my sequence number and MSS

2) Acknowledged, your SEQ is good and I will use this as your SEQ number, here's mine plus my MSS.

3) Acknowledged, I will use your SEQ number for you

Without the sequence numbers you have don't have the reliable delievery of a connection-oriened transport layer. (TCP)
 
Back
Top