Using the Redirector :: Advanced Options

Synchronize with Server

Some applications require that the COM port open operation should "synchronize" with the server by waiting until the server provides the serial device and returning a failure from the COM port open function otherwise.

To set Synchronize with Server

In the Serial/IP Control Panel:

  1. Click Advanced.

  2. Select the Options tab.

  3. Use the check box Synchronize with Server.

  4. Click OK to record the setting.

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

Settings

Enabled (default for Windows NT/2000/XP)

The redirector defers the return from the COM port open until all of the following occur between the redirector and the server:

Disabled (default for Windows 98/95/Me/NT)

The redirector immediately returns from the COM port open with a success status.

Tips

This setting provides an alternative way for the application to detect the error condition: a failed return from OpenFile().

 Notes

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

Currently open ports are unaffected.

When a virtual COM port is opened, the default behavior of the redirector in most cases is to return a success from the call to OpenFile() while the redirector proceeds to set up the connection to the serial device server. If the serial device server is unable to provide a serial device, the COM port remains open.  

Most applications detect the error condition by the absence of the expected serial device behavior on the open COM port and the application closes the COM port.

  Related Topics

Configuring Advanced Options