This is an old revision of the document!
To create a fake serial port:
socat pty,raw,echo=0,link=<port1_name> pty,raw,echo=0,link=<port2_name>