11-03-2015 07:57 PM - edited 03-08-2019 02:33 AM
Hi my old friends ( no pun intended).
I hope you guys are doing fine. I am trying to find the max number of retransmission for the same segment which once reached, will cause TCP sender to reset the TCP session.
I googled it and found one blog which says it is 5. I am looking for some good reference which could corroborate this number.
The next reset is a TCP reset that happens when a network frame is sent six times (this would be the original frame plus five retransmits of the frame) without a response. As a result, the sending node resets the connection. This is assuming that we have an established connection after the three way handshake. The number of retransmits before the reset is configurable, but the default is five.
Thanks
Solved! Go to Solution.
11-04-2015 12:39 AM
Hi, You are absolutely right here. It depends on platform which you are using. Windows do 5 retransmission before giving up until unless it is configured mannually.
The retransmission timer is three seconds when a TCP connection is established in starting. However, it adjusts timers on the fly to meet characterstics of connectection by using SRTT (Smoothed Round Trip Tme) calculations. Timer gets double when each retransmission happen. For example:
First restransmission time: x seconds
Second restransmission time: 2X seconds
Third restransmission time: 4X seconds
and so on..
Thanks
11-04-2015 12:39 AM
Hi, You are absolutely right here. It depends on platform which you are using. Windows do 5 retransmission before giving up until unless it is configured mannually.
The retransmission timer is three seconds when a TCP connection is established in starting. However, it adjusts timers on the fly to meet characterstics of connectection by using SRTT (Smoothed Round Trip Tme) calculations. Timer gets double when each retransmission happen. For example:
First restransmission time: x seconds
Second restransmission time: 2X seconds
Third restransmission time: 4X seconds
and so on..
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide