TCP-Connection Establishment = How to measure time based on Ping RRT?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-05-21T17:36:27Z Indexed on 2010/05/21 17:40 UTC
Read the original article Hit count: 554

Filed under:

Hello Experts,

I would be greatful for help, understanding how long it takes to establish a TCP connection when I have the Ping RoundTripTip:

According to Wikipedia a TCP Connection will be established in three steps:

1.SYN-SENT (=>CLIENT TO SERVER)
2.SYN/ACK-RECEIVED (=>SERVER TO CLIENT)
3.ACK-SENT (=>CLIENT TO SERVER)

My Questions:

  1. Is it correct, that the third transmission (ACK-SENT) will not yet carry any payload (my data) but is only used for the connection establishement.(This leads to the conclusion, that the fourth packt will be the first packt to hold any payload....)

  2. Is it correct to assume, that when my Ping RoundTripTime is 20 milliseconds, that in the example given above, the TCP Connection establishment would at least require 30 millisecons, before any data can be transmitted between the Client and Server?

Thank you very much

Tom

© Stack Overflow or respective owner

Related posts about sockets