I use com0com for program testing in windows, are there any program like com0com in linux?
I know there is pts/ptmx, but what I want is a stand alone program to provide 2 virtual serial ports...
Then I can open 2 program, each attench one...
The Null-modem emulator is an open source kernel-mode virtual serial port driver for Windows, available freely under GPL license. The Null-modem emulator allows you to create an unlimited number of virtual COM port pairs and use any pair to connect one COM port based application to another.
Virtual Serial Port Driver for LINUX (VSPDL) powers Virtual Serial Ports (VSPs) that emulate "real" serial ports under LINUX OS. The VSPDL is an "engine" that powers Virtual Serial Ports (VSPs ). To any LINUX application the VSP "looks and feels" just like a "normal" serial port.
com0com is a free utility to create virtual serial port pairs that can be used to capture the debug output of ReactOS and direct it to a terminal program. Useful terminal programs that are able to get this output include: Hyper Terminal. Teraterm.
I found a good method:
socat PTY,link=COM8 PTY,link=COM9
then 2 virtual serial port files are created: COM8, COM9
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With