I want to setup virtual serial port emulator in Linux. I want the ports to be permanent, so that I can use them every time I restart. I tried using socat for that purpose as in this way,
socat -d -d pty,raw,echo=0 pty,raw,echo=0
But I often get port busy issues during the usage of these VSPs (Virtual Serial Ports) in my test programs. Also, I find it hard to create permanent/persistent VSPs. I now want to try out tty0tty for my purposes. But, there are rarely any documentation and how to use guide for that. Anyone can enlighten me on this? Please do comment, if there are any solution for socat as well.