Home

 

Use the TCP/IP SO_KEEPALIVE option

 

If you want to use the SO_KEEPALIVE option (as discussed in Checking that the other end of the channel is still available) we need to add the following entry to your registry:

TCP:
   KeepAlive=yes

On Windows, the TCP configuration registry value for KeepAliveTime controls the interval that elapses before the connection will be checked. The default is two hours. For information about changing this value, see the Microsoft article TCP/IP and NBT Configuration Parameters for Windows NT 3.5 (PSS ID number Q120642).

 

Parent topic:

Receiving on TCP


ic12780_


 

Home