I'm developing under RH 7.3 and making a TCP app.
How can I change the RTO (retransmission timout) parameters?
Thanks in advance.
Greetings Fredrik.
the sysctl files in /proc/sys/net/ipv4 contain all the adjustable tcp
parameters for tcp, but a quick look at the tcp man page suggests that
you won't find what your looking for there. There are send and receive
timeouts described in section 7 of the socket man page (SO_RCVTIMEO and
SO_SNDTIMEO), which may be what your looking for. Unfortunately for
you, the man page indicates that they can not be altered. It does
suggest, however, that if you need these parameters adjusted they can be
simulated with the alarm or setitimer calls.
HTH
Neil
The problem is solved.
Just changed the TCP_RTO_MAX constant in the tcp.h file,
the tcp will be more aggressive but it's just used in a local
environment so...
Thanks,
Freddan.
I hope you recompiled your kernel to pick up the new value.
--
Lew Pitcher
Master Codewright and JOAT-in-training
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.