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.

Can anyone recommend a reverse telnet (connect incoming TCP to a COM port) program for Windows?

Ideally it would run as a system service and listen on an array of TCP ports corresponding to the various COMn serial ports, but I'd also be happy with manually launching and a single port.

Solutions that require cygwin are acceptable. I have nc but I don't know how to launch it to get bidirectional communications.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

The External Links section of the "COM port redirector" article on Wikipedia has a list of over 20 programs.

share|improve this answer
    
Thanks. socat is promising. Most of that page seems to be describing virtual ports, which is something else entirely. –  Ben Voigt Mar 22 '11 at 15:57

It turns out that although netcat requires separate file descriptors for read and write, socat can use a single descriptor.

socat TCPv4-LISTEN:tcpportnum/dev/ttySserialportnum,bbaudrate

works nicely.

share|improve this answer

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.