This page is a part of ReMapPro online Help Manual.
ReMapPro makes serial (RS232) data from your PC available on TCP/IP-based networks and makes TCP/IP data available on COM port on your PC. Visit Home of ReMapPro for more information.

The "[COMPORT]" Section of the ini-file

The "[COMPORT]" section of the ini-file may have the following entry lines you can customize for particular needs and applications.


This entry line specifies Comport to use N COM ports (as the max number of COM ports in the pool (or the array) used by the TCP/IP server) instead of the default (64) value.


You can select one of three modes for RTS flow control if Flow control in the Serial Setting is set to None.

Behavior of Comport for these modes is implemented according to the MSDN Library, i.e., the following flags are set up after opening a COM-port:

  • 'fInX', 'fOutX', 'fOutXDsrFlow', and 'fOutXCtsFlow' are all set to FALSE
  • 'fDtrControl' is set to DTR_CONTROL_ENABLE
  • 'fRtsControl' is set to RTS_CONTROL_ENABLE.

To select the mode for the RTS flow control (if Flow control in the Serial Setting is set to None), the RtsControlForNone=... line can be inserted into the "[COMPORT]" section of the xwp.ini file (that is in the home directory of the package).

The setting provides the following modes:

  • RtsControlForNone=0
    With this setting, flag 'fRtsControl' is set to RTS_CONTROL_DISABLE after opening a COM-port. RTS_CONTROL_DISABLE disables the RTS line when the device is opened and leaves it disabled.

  • RtsControlForNone=1
    With this setting or if this line is absent, the software works as in the previous version, i.e. flag 'fRtsControl' is set to RTS_CONTROL_ENABLE after opening a COM-port. RTS_CONTROL_ENABLE enables the RTS line when the device is opened and leaves it on.

  • RtsControlForNone=2
    This setting makes 'GetCommState' before 'SetCommState' without changing parameter 'PortDCB.fRtsControl' for RTS flow control.

To take the mode into effect, you should do the following:

  1. Stop port mapping
  2. Select the mode of your choice
  3. Start port mapping again.


With L=1, this entry line causes Comport to show the Timeouts button active in the main window (thus allowing you to specify the Timeout parameters).

With L=0, Comport will keep the button dimmed.


The SYNC=1 entry line specifies the "SYNC" data transfer mode for all virtual serial ports. In this mode, data messages from/to a (virtual) serial device (and serial port) are transferred unbroken in network packets.

With SYNC=0, the "ASYNC" data transfer mode will be effective. In this mode, serial data messages may be broken into more than one network packets (i.e., into "sub-messages").


With L=0, Comport will store no tracing data.

With L=1, this entry line specifies Comport to store brief tracing information into the Comport.log file.

With L=3, Comport will store the contents of every packet too in the log-file (thus decreasing the performance).

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

Labtam Copyright 1999 - 2007 LabtamTM Inc.