Hans-Peter Czybik
|
TCP_KEEPALIVE in TCP/IP 4.25
|
Hans-Peter Czybik
09/03/2010 2:45 AM
post65829
|
TCP_KEEPALIVE in TCP/IP 4.25
Hi,
we have to implement an application, where we will use the KEEPALIVE function of TCP/IP 4.25. In TCP/IP 4.25 it is
possible to activate this function by calling 'setsockopt()' with the option SO_KEEPALIVE. The initial delay time before
sending keepalive messages can be changed by calling 'setsockopt()' with the option 'TCP_KEEPALIVE'.
We also have to change the time intervall between keepalive messages (default: 75 seconds) and the number of keepalive
probes before dropping the connnection (default: 8).
In TCP/IP 4.25 it seems to be impossible to change this values by calling 'setsockopt()'. So we will try to patch the
Socket file. Are there any constant values in 'Socket' with the initial values of time intervall and number of probes?
At which position in 'Socket' are they located? The date of our Socket file is 02/13/2003 (cksum 3405298138, size
232257).
Best regards
Hans-Peter
|
|
|