SCSKEEPALIVE
Keepalive timer for connection recovery
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
|
|
The SCSKEEPALIVE environment variable enables the client to override the TCP keepalive timer setting on the server used by xfServer connection recovery.
Value
The value in seconds for the keepalive timer used by xfServer connection recovery. Valid values are 1 through 7200 (2 hours).
Discussion
When connection recovery is enabled on the server (in either slave or master mode), setting SCSKEEPALIVE on the client overrides the TCP keepalive timer setting on the xfServer machine for that client.
When connection recovery is enabled in slave mode, setting SCSKEEPALIVE enables the feature for that client, even if SCSKEEPCONNECT is not set. (If SCSKEEPCONNECT is explicitly set to OFF or if KeepConnect on the server is off, setting SCSKEEPALIVE will not enable the feature, and a warning will be logged in the Windows event log on the server.)
If SCSPROFILE is also set, the value set with SCSKEEPALIVE will override the Keepalive setting in the specified profile.
Setting location
On the xfServer client in the environment or in the [dbr] section of synergy.ini. To use the SETLOG routine to set SCSKEEPALIVE, call it prior to the first OPEN statement to the server.
Used by
xfServer
See also
- Using connection recovery (Windows)
- SCSKEEPCONNECT environment variable
- SCSPROFILE environment variable
Examples
SCSKEEPALIVE=120