views:

227

answers:

1

I use com0com for program testing in windows, are there any program like com2com 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...

+1  A: 

God bless me! I found a good method:

socat PTY,link=COM8 PTY,link=COM9

then 2 virtual serial port files are created: COM8, COM9

linjunhalida