FCIAS or Fast Copybook Internet Access Server is a tetronet access server, which routes packets, but it's using the more modern RAWWS (RAW WebSocket) connection protocol for the internal lines, but the external line stays socket.io, because JavaScript socket.io-client library is much faster, than the c# socket.io-doghappy library.
FCIAS allows you to connect RAWWS applications, like ModemAPI-based applications, LPH and other. They're on c# and they will work much faster on the RAWWS transport. This script serves as a standalone router, which connects to the external line through a socket.io-based line, and creates not more than 10ⁿ (n is the SMLA_LENGTH) internal RAWWS lines for c# applications to quickly connect.
It's very fast. On my old xeon x3440 server it pushed 54 Mbps, which was a LAN limitation (100 Mbps LAN).
Well this code was made by Claude AI. But it was based on a good quality code of the original cias. So I'm not 100% sure if it's a good code, but it looks good to me, so I hope it works for you.
Everything is done in the code, settings are marked.
Use pm2 for that. And also install all of the libraries it asks for.
Guys, tetronet is a NETWORK. So allow other people to connect to your CIAS. And even if you don't, that's fine, maybe you need the whole bandwidth. It's your server and your choice.