Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.