Advanced connection properties

Connection Timeout (seconds) Inactivity Timeout (minutes) Keep-Alive

Connection Timeout (seconds)

For clients running JDK V1.4 or later, this option specifies the number of seconds that the Z and I Emulator for Web 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 Z and I Emulator for Web client should wait to receive data. If this time limit elapses without data being received, the Z and I Emulator for Web 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:

  • 3270 Display sessions
  • 3270 Print sessions
  • 5250 Display sessions
  • 5250 Print sessions

Inactivity Timeout (minutes)

This option specifies the number of minutes that the Z and I Emulator for Web 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:

  • 3270 Display sessions
  • 3270 Print sessions
  • 5250 Display sessions
  • 5250 Print sessions
  • VT Display sessions

TCP Keep-Alive

Select Yes if the user want the client to close the connection when the destination address is no longer available. Keep-Alive requires Java 2.

For more information about how to adjust the level of frequency of Keep-Alive traffic, refer to operating system's TCP/IP documentation.

Keep-Alive

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 the 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 get disconnected from the session.

The default keep-alive Interval is 180 seconds. The Interval range is from 30 to 99999 seconds.