Using the Redirector :: Advanced Options

Keep-Alive Interval

If the server supports the COM Port Control protocol, the redirector can use a keep-alive message method to detect a failed connection to the server. This option controls the interval at which the redirector will issue the keep-alive message, if no activity has occurred on the connection.

To change the setting

In the Serial/IP Control Panel:

  1. Click Advanced.

  2. Select the Options tab.

  3. Type a value for Keep-Alive Interval. The default is 60,000 milliseconds. It is recommended that this setting be at least 1,000 milliseconds.

  4. Click OK to record the setting.

This setting affects all Serial/IP COM ports that are subsequently opened.

 Tips

One of the basic characteristics of a TCP/IP connection is that one end of the connection may fail without automatic notification to the other end.

If Restore Failed Connections is enabled on any of its virtual COM ports, and if the COM Port Control protocol is being used, the Serial/IP Redirector periodically emits a "keep-alive" message to the server, which responds with an acknowledgement. This action monitors the existence of the connection. The interval between attempts by the redirector to reach the server is 60 seconds by default. This means that as much as 60 seconds may elapse before the redirector discovers that the connection has failed.

To shorten the maximum time of an undetected failure, a smaller value for Keep-Alive Interval can be used. The penalty of shorter intervals is increased network traffic and overhead on the local computer and server.

 Notes

This option affects the handling of only those virtual COM ports that have Restore Failed Connections enabled and are connected to a server that supports the COM Port Control protocol.

If there is activity on the redirector-server connection during the keep-alive interval, the redirector does not issue a keep-alive message.

This is a global option that affects all Serial/IP COM ports.

Currently open ports are unaffected.

  Related Topics

Max Connection Recovery Interval

Configuring Advanced Options

Recover Failed Connections