Manually forcing TCP connection to retry
Posted
by
Vi.
on Super User
See other posts from Super User
or by Vi.
Published on 2010-06-09T13:01:26Z
Indexed on
2012/04/08
17:34 UTC
Read the original article
Hit count: 218
- I have a TCP connection (SSH session to some computer for example)
- Network suddenly goes down and drops all packets (disconnected cable, out of range).
- TCP resends packets again and again, retrying with increasing delays.
- I see the problem and plug the cable back (or restore network somehow).
- TCP connection finally successfully resends some packet and continues.
The problem is that I need to wait for a some timeout on point 5. I want to use my opened SSH session now and not wait for 5-10 seconds until it finds out that connection is working again.
How to force all TCP connections to resend data without delays in GNU/Linux?
© Super User or respective owner