0

I know that 3 way handshake is used. But, the first time a connection is established and there is no RTT data, what is the expected time before sending another packet?

enter image description here

How does the client know how long to wait for the first confirmation? Is there any calculation or previous procedure?

PS: English is not my native language: :P

0

Before SYN-ACK is received from the destination, the socket is still in the SYN-SENT state. The timeout used and possible SYN retries depend on the initial connection timeout, not the retransmission timeout. The RTO is only used for an already established socket.

3
  • And this initial connection timeout is standard or is there any way to calculate it?
    – toborochi
    Nov 24 '19 at 14:02
  • @toborochi That initial timeout is system/implementation specific. I'm not aware of any standard. There's no way to calculate it because you have no data.
    – Zac67
    Nov 24 '19 at 14:19
  • Thanks dude. You will not have any link to know the value of each system/implementation or some kind of reference.?
    – toborochi
    Nov 25 '19 at 1:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.