Keepalive option

Hi,
1)Is it possible to change tcp_keepalive option timing from 2hrs to say
500ms. if so how in QNX 4.25 latest version. In other unix flavours like
solaris there is a utility called ndd.Is there any such utility in QNX 4.25
2)Is it possible to reduce the connect time which is 75ms.I want to reduce
it to 20ms or i want to terminate with an error message(ICMP) within first
or second SYN packet.

TIA
Regards

vasdev <vasdev_vs@hotmail.com> wrote in message
news:arhraq$442$1@inn.qnx.com

Hi,
1)Is it possible to change tcp_keepalive option timing from 2hrs to say
500ms. if so how in QNX 4.25 latest version. In other unix flavours like
solaris there is a utility called ndd.Is there any such utility in QNX
4.25

Check out the manual for TCP. There is a per socket based option
TCP_KEEPALIVE to allow you specify any idle time other then 2hrs.

Note, you can only change the idle time, it still need to do “several probe”
to determine peer is gone.

2)Is it possible to reduce the connect time which is 75ms.I want to reduce
it to 20ms or i want to terminate with an error message(ICMP) within first
or second SYN packet.

I don’t think you can do this. These timers are RFC specified. If there is
anywhere
I would try my lucky, check sysctl util see if it gives you something.

-xtang

we are having sysctl utility in Qnx 6.2 But i wanted it in Qnx 4.25.Is it
not present in qnx 4.25 latest version (may 2001 CD) should i d/nload
anything?

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:ariren$emv$1@nntp.qnx.com

vasdev <> vasdev_vs@hotmail.com> > wrote in message
news:arhraq$442$> 1@inn.qnx.com> …
Hi,
1)Is it possible to change tcp_keepalive option timing from 2hrs to say
500ms. if so how in QNX 4.25 latest version. In other unix flavours like
solaris there is a utility called ndd.Is there any such utility in QNX
4.25

Check out the manual for TCP. There is a per socket based option
TCP_KEEPALIVE to allow you specify any idle time other then 2hrs.

Note, you can only change the idle time, it still need to do “several
probe”
to determine peer is gone.

2)Is it possible to reduce the connect time which is 75ms.I want to
reduce
it to 20ms or i want to terminate with an error message(ICMP) within
first
or second SYN packet.

I don’t think you can do this. These timers are RFC specified. If there is
anywhere
I would try my lucky, check sysctl util see if it gives you something.

-xtang