1833382 Members
3711 Online
110052 Solutions
New Discussion

Re: SO_KEEPALIVE

 
Jeff Grant_1
New Member

SO_KEEPALIVE

I am wanting to use the SO_KEEPALIVE in a function, but I want to send a probe every 5 or 10 minutes. Is there anyway to manipulate the keepalive to send a probe that often instead of the defaulted 2 hours? And do I have to have the SO_KEEPALIVE in a loop to send the message every time or is it set after only one call?
1 REPLY 1
James R. Ferguson
Acclaimed Contributor

Re: SO_KEEPALIVE

Hi Jeff:

I think you only need reduce the 'tcp_keepalive_interval' timer.
Have a look at Technical Knowledge Base documents #S1100002433A and #S1100002433B.

Regards!

...JRF...