Connection Timeout (seconds)
Inactivity Timeout (minutes)
TCP Keep-Alive
Keep-Alive
For clients running JDK V1.4 or later, this option specifies the number of seconds that the Host On-Demand client will try to connect to the socket before timing out. By default, the client does not set a timeout value. This option is available for all session types except FTP sessions.
For all levels of Java, this value is also used if the "Timeout if no data received at initialization" option is set to "Yes". When that property is set to "Yes", the Connection Timeout value determines the number of seconds Host On-Demand client should wait to receive data. If this time limit elapses without data being received, the Host On-Demand client will try to connect to a backup server. The "Timeout if no data received at initialization" property is found on the Connection > Backup Servers page of the session properties.
This second behavior is only available for the following types of sessions:
This option specifies the number of minutes that the Host On-Demand client waits before terminating an inactive session connection. The maximum valid number is 35,791 minutes. By default, the session connection is never timed out. The session will not automatically reconnect after timing out, even if Auto-Reconnect is set to Yes.
Terminating an idle connection might be useful for ensuring that resources such as LU names and workstation IDs are released when they are no longer being used.
This option is available for the following types of sessions:
Select Yes, if the user wants the client to disconnect the connection when the destination address is no longer available. TCP Keep-Alive Packets are used to determine if the connection is still valid. The keep-alive interval operating system is dependent and may be tunable via a kernel parameter. Since no data is sent, it can only test the network connection's liveness, not the service to which the socket is connected. For more information about adjusting the frequency of Keep-Alive traffic, refer to the operating system's TCP/IP documentation.
Once it is enabled, Keep-Alive Type and Keep-Alive Timeout options become active. In the Keep-Alive Type drop-down, NOP and TIMING-MARK get displayed.
If NOP is selected -
The client sends the "No Operation" command to the server in a specified interval.
If TIMING-MARK is set - The client will send the "DO TIMING-MARK" command to the server in specified intervals.
Unlike NOP, for TIMING-MARK client must receive a response from the server.
If the client is not receiving a response from the server, the client will disconnect the session.
The default keep-alive Interval is 180 seconds. The Interval range is from 30 to 99999 seconds.