Take the 2-minute tour ×

Is it possible to connect socat to the COM1 device? I am trying to use example from socat man page socat -,raw,echo=0,escape=0x0f /dev/ttyS0,raw,echo=0,crnl and replace device name /dev/ttyS0 with windows specific device name. I've tried COM1, com1, com1:, com1\:, some other variants but nothing works. Does anybody know correct combinations of symbols for the device name?

share|improve this question
add comment

1 Answer

Use standard Linux name convention:

  • /dev/ttyS0 is equivalent to COM1
  • /dev/ttyS1 is equivalent to COM2
  • etc...

See POSIX devices in the Cygwin User's Guide

share|improve this answer
add comment

Your Answer


