This page is a part of VPortPro online Help Manual.
VPortPro-client with Com Port Control by Labtam.
VPortPro makes serial (RS232) data from your PC available on TCP/IP-based networks and makes TCP/IP data available on virtual serial ports of your PC. Visit Home of VPortPro for more information.



TCP/IP Settings

In the TCP/IP settings group box of the Adding a Connection or Configure a Connection window, you must specify:

  1. A connection mode (TCP Client or TCP Server)
  2. For the TCP Server mode, a protocol version (IPv4 or IPv6)
  3. A protocol type (RAW TCP Connection or Telnet (RFC2217))
  4. An IP address (for the serial server when in the TCP Client mode)
  5. A TCP/IP port number (for the server to listen to)
  6. Reconnection parameters (or disable the Enable reconnection check box)


The Mode of Connection

If you choose the TCP Server mode, then the TCP/IP address of your PC will be used and you only need to specify the TCP/IP port number (to listen to clients' requests and communicate over the network). In this mode, COM Port Redirector will redirect a specified COM port to the network through a specified TCP/IP port (on your PC).

For the TCP Server mode, you can choose the protocol (IPv4 or IPv6) the software will use with remote clients.

If you choose the TCP Client mode, then you must fill in the IP address and TCP/IP port number fields for a serial device or server. In this mode, COM Port Redirector will redirect a specified COM port on your PC to the specified TCP/IP address through a specified TCP/IP port.

In the TCP Client mode, the software automatically negotiates with the remote server on which protocol to use (IPv4 or IPv6).

You can specify any port number between 1 and 65535 which does not cause conflicts between services and COM Port Redirector. To prevent conflicts between services and COM Port Redirector, it is recommended to use free port numbers between 1024 and 65535, i.e. unprivileged ports and not used by services. (See also the services system file.) A PC application employs ports on a serial server when it uses the COM ports that are created and managed by COM Port Redirector.

General TCP/IP settings are described in section Using ComSetup of chapter Configuring VPortPro. For more information, refer to Appendix A. TCP/IP Connection Overview.

With the Use Base Port check box disabled, you enter the absolute value for a TCP/IP port number. If you enable the Use Base Port check box, then the absolute value for a TCP/IP port number will be the Base port number plus the COM port number.


The Protocol Type

In the Protocol Type box, you must choose a transport data stream protocol type that COM Port Redirector will use in that connection with the serial device or server. For connection protocol, the setting must match the TCP/IP protocol that the serial server supports.

Most MS Windows applications perform only the common read/write operations that all serial devices and servers support. Some applications, however, also require some of the features provided by the COM Port Control protocol specified by IETF RFC 2217. For these applications, the serial device or server must support the COM Port Control protocol and provide at least the serial port control and status functions that the application requires.

There are two options for the protocol type between COM Port Redirector and the serial device or server:

RAW TCP connection

The Raw TCP connection protocol type is used to communicate with a serial device or server without any additional protocol. Although this is possible with most serial devices and servers, it is not recommended because it precludes the use of helpful Telnet (RFC 2217) protocol features.

Telnet (RFC 2217)

The Telnet protocol type is the correct setting for most serial devices and servers. If this protocol is selected, COM Port Redirector will automatically request the use of the Telnet "binary mode" to allow proper operation of applications. If the serial device or server supports the COM Port Control protocol (RFC 2217), it will automatically be used.


Reconnection Settings

With the Enable reconnection check box enabled, COM Port Redirector will initiate periodical attempts to reconnect the TCP/IP client connection that gets closed. If the connection fails, the connection attempt will be repeated for a user-defined number of times and interval. If the connection attempt fails beyond the user-defined limit, then a pop-up message will appear informing the user that the TCP/IP port is not available and ask if the user wants to keep retrying (the message can be disabled if desired).

This option is useful when any disruption in connection will cause COM Port Redirector to automatically go to stop. If the option is disabled, COM Port Redirector does not restart.

The Reconnection period setting specifies the frequency of connection attempts (in seconds). The default value is 10.

The Number of retries setting specifies the maximal number of connection attempts. The default value is 10. The maximal value is 1.000.000. You can enter value 0 for a very large number.




Home | Product | Download | Order Now | Upgrade | Support | Pricing | Company Information | Contact Us


Labtam Copyright 1999 - 2007 LabtamTM Inc.