Virtual Serial Ports allows connecting a virtual serial device to the named pipe. A serial device may either act the role of the named pipe server or named pipe client.
When acting as named pipe client, the other end of the pipe may reside either on the local or remote computer.
To connect a virtual serial device to the named pipe, use IVirtualSerialDevice.connectToPipe method to connect to existing pipe (client mode) or IVirtualSerialDevice.createAndConnectPipe method to create a named pipe and connect to it in server mode.
When an application writes data to the serial port, all written data is transferred to the named pipe. Correspondingly, when application reads data from the port, the data is fetched from the named pipe.
When in server mode, the library first waits until the client is connected. Before that, all read and write requests are terminated with an error.
Configuration Utility allows the user to create ports connected to pipes using the Create New Port Wizard.