开发者

Are there some program like COM0COM in linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_运维技巧

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 question

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...


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜