JM 11/18/2016, verified to run on ubuntu linux, making serial port accesible to a Windows 7 TCP client.
Screenshots!! editThis 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.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 edit(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.)
|Device||is the name of your serial port||COM1: (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