By: Borland Staff
Abstract: In some cases it is desired to configure the TCP settings on a system to create a better environment for connections in InterBase.
How can I set the client to detect a lost connection
In some cases it is desired to configure the TCP settings on
a system to create a better environment for connections in InterBase.
In InterBase v5.x on the Windows platforms and other platforms
where the TCP layer supports keepalives, InterBase depends on
the TCP layer to manage keeping the connection open when there
is no activity on the part of the server. The TCP parameters of
KeepAliveTime - Specifies the connection idle time in
milliseconds before TCP will begin sending keepalives, if
keepalives are enabled on a connection.
The default is 2 hours (7,200,000).
KeepAliveInterval - Specifies the time in milliseconds between
retransmissions of keepalives, once the KeepAliveTime has
expired. Once KeepAliveTime has expired, keepalives are sent every
KeepAliveInterval milliseconds until a response is received, up
to a maximum of MaxDataRetries before the connection is aborted.
The default is 1 second (1000).
MaxDataRetries - Specifies the maximum number of times a segment
carrying data or an FIN will be retransmitted before the connection is
aborted. The retransmission timeout itself is adaptive and will vary
according to link conditions.
The default is 5.
The parameters do not not normally exist in the registry, and must be
placed in the following location:
Set your browser to the following location to pick up a document from
the Microsoft online Knowledgebase on how to configure these registry
Trial Download Week!
Click here to download a free 30-day trial of InterBase XE3 Server or ToGo editions. Or download a free non-expiring Developer Edition >
More InterBase Info
InterBase XE3 Product Info
Free Developer Edition download
InterBase on Google+
Follow @InterBase_ on Twitter
Server Response from: ETNASC02