This application is an example of Virtual Serial Ports ActiveX control client. It provides a simple graphical user interface for creation and deletion of virtual serial ports as well as allows connecting them to different transports.
In the left part of the application's window is a list of currently active virtual serial ports. They are divided into four categories, depending on the transport they are connected to:
In order to create new virtual serial port, first select the category (Pipe, Bridge or Input/Output Files). Then press the Create button.
If "Bridge" category has been selected, the bridge is immediately created, otherwise the configuration dialog is displayed.
If you are going to make a newly created virtual serial port a named pipe's server, enter the pipe's name and select the Create pipe checkox. Optionally specify the number of pipe instances, output and input buffer sizes and default timeout in milliseconds.
The named pipe's name format must be the following: "\\.\pipe\PipeName", where "PipeName" may be any combination of letters and digits except "/".
If you are connecting to already existing named pipe, enter the pipe's name and make sure Create pipe checkbox is not checked. In this case, the format of the pipe name is "\\servername\pipe\PipeName", where "servername" may be the name of the remote server, its IP address or "." when connecting to local computer.
This dialog lets you enter the full path to the input file and output file. Use the browse button (…) to navigate to the file or enter the path manually. For output file, specify the file opening mode (see FileCreationMode enumeration for more information).
To delete a port or a bridge, select it in a list and press the Delete button.