Are there some program like COM0COM in linux? [closed]
开发者_运维技巧
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this questionI 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...
I found a good method:
socat PTY,link=COM8 PTY,link=COM9
then 2 virtual serial port files are created: COM8, COM9
You can also use tty2comKm virtual serial port driver for linux provided by serialpundit project.
精彩评论