Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

 
discard

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.