Serial port Socat Windows串行端口访问

Serial port Socat Windows串行端口访问,serial-port,tunnel,socat,Serial Port,Tunnel,Socat,我想将串行COM10根目录设置为LAN-->LAN根目录设置为COM12 因此,我需要windows版socat的等效命令: socat -d -d -d TCP4-LISTEN:23000,reuseaddr,fork /dev/ttyS0 如果我想访问COM10,我必须在Windows下输入什么而不是/dev/ttyS0 发送方:socat-d-d-dtcp4:loalhost:23000/dev/ttyS1 接收机:socat-d-d-dtcp4-LISTEN:23000/dev/tty

我想将串行COM10根目录设置为LAN-->LAN根目录设置为COM12

因此,我需要windows版socat的等效命令:

socat -d -d -d TCP4-LISTEN:23000,reuseaddr,fork /dev/ttyS0
如果我想访问COM10,我必须在Windows下输入什么而不是/dev/ttyS0

发送方:socat-d-d-dtcp4:loalhost:23000/dev/ttyS1

接收机:socat-d-d-dtcp4-LISTEN:23000/dev/ttyS2


提前感谢

使用标准Linux名称约定:
/dev/ttyS0相当于COM1
/dev/ttyS1~COM2
... 因此COM10应该是/dev/ttyS9


使用标准Linux名称约定:
/dev/ttyS0相当于COM1
/dev/ttyS1~COM2
... 因此COM10应该是/dev/ttyS9