I am currently designing and developing the RS232 serial to telnet application. This application allows the system administrator connect any of its machine serial COM into a port that is accessible using telnet client, such as PuTTY. This is going to be a useful application for me as I can access my servers without any physical access. I planned to divide this application into tree major sub-systems: RS232 client, TELNET server and bridge.
The RS232 client manages the connection from the application to the RS232 port. It allows the application to communicate to the machine or any RS232 device through the RS232 port. The RS232 port doesn’t have to be the on-board RS232 port but may be an extension RS232 through USB port, allowing more RS232 connection to the system.
The server manages the connection from the TELNET client application, e.g. PuTTY, to the application. The server should enable multiple client connection to a single COM port, allowing users collaboration in controlling the machine. Additionally, the server portion should be able to show which users are connection the server and able to kill of any idle users.
The bridge controls the connection between the TELNET server and the RS232 client. The bridge defines which telnet port is opened for a particular COM port.