1

I want to root my serial COM10 to LAN --> LAN to COM12

I therefor need the equivalent command for windows version of socat:

socat -d -d -d TCP4-LISTEN:23000,reuseaddr,fork /dev/ttyS0

What do I have to enter under Windows instead of /dev/ttyS0 if I want to access my COM10?

Sender : socat -d -d -d TCP4:loalhost:23000 /dev/ttyS1

Receiver: socat -d -d -d TCP4-LISTEN:23000 /dev/ttyS2

Thank in advance!

4

1 回答 1

1

使用标准的 Linux 命名约定:
/dev/ttyS0 相当于 COM1
/dev/ttyS1 ~ COM2
... 所以COM10应该是/dev/ttyS9

http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices

于 2014-01-16T20:00:46.430 回答