
Please watch this video (from 00:48):

https://youtu.be/WVBgmah6gE0


Example of socat command to use in Linux:
sudo socat PTY,link=/dev/ttyS1,mode=0666 PTY,link=/dev/ttyS2,mode=0666
