tcptty

AMG: tcptty is a little Tcl program that allows you (and others, if you so choose) to access your serial ports with TCP clients. I wrote it because I was disgusted with HyperTerminal and I greatly preferred PuTTY's interface and terminal emulation. What you do with it, is up to you.

Update: newer versions of PuTTY directly support the serial port, so I no longer need this program for its original stated purpose.
JM 11/18/2016, verified to run on ubuntu linux, making serial port accesible to a Windows 7 TCP client.


Screenshots!!

http://andy.junkdrome.org/devel/tcptty/tcptty.png

This is the main window. Not much to look at, but all you need is there. Device configuration, access controls, ..., uhm, there's really not much more to it than that. I wanted to keep this simple, and I think I succeeded.

http://andy.junkdrome.org/devel/tcptty/tcptty-putty.png

Here's an action shot. PuTTY's in the background, connected and displaying the Vim help. The PuTTY configuration window shows how to set up the connection.


Documentation

(Copied from the source code)

tcptty is a simple program to make a serial port accessible to TCP clients. It has a bare-bones GUI allowing you to configure the parameters of the serial port and the TCP server. Connect to it using a TCP-enabled terminal emulator such as PuTTY in raw mode or netcat running in an xterm. (You will want to disable local line editing and echoing, if these features are provided by the remote host.)

Parameterdescriptionvalues
Device is the name of your serial portCOM1: (MS-Windows) or /dev/ttyS0 (Unix)
Bit Rate is the number of bits per second to use, also known as baud rate. Common values include 2400, 9600, 38400, and 115200.
Data Bits specifies the number of bits per character. Options include 5, 6, 7, and 8.
Parity is an error checking mechanism. It can be set to n (none), o (odd), e (even), m (mark), or s (space).
Stop Bits gives the delay between characters. It should be set to 1 or 2.
TCP Port is the port number on which tcptty listens. This provides very weak security, since an attacker can obtain this value by port scanning.
TCP Addr determines which interface tcptty will accept connections on. Set this to localhost to reduce the threat from the outside Internet, or...
set to 0.0.0.0 to accept connections from everywhere.
Note that attackers may already have access to your machine, perhaps legitimately (they may have login accounts!), so only accepting from localhost doesn't guarantee security.
The Clients Max limits the number of concurrent clients so if you set this to 1 (default) and you are connected you know no one else is; or...
set this to 0 to allow any number of connections

 What: tcptty
 Where: http://andy.junkdrome.org/devel/tcptty/
 Description: TCP <--> serial port gateway.
 Version: 0.2
 Updated: 21 September 2005
 License: GPL 2.0 or later
 Contact: Andy Goth <[email protected]>

See also: Simple TCP/IP to serial port gateway