I have a serial device connected to a remote computer and would like to transmit the serial data from this machine over tcp to another computer, both linux machines. Ideally, I would like to link two serial ports together between two computers by communicating over tcp.
I found this link: socat-ttyovertcp, which explains that this is possible using socat. I've tried testing this by running a computer as a host with the virtual machine as the client; and although the code runs without syntax error, I do not know how to verify that they work. Any help would be greatly appreciated.