Having a bit of fun with VT240. After getting VT102 to connect to a BBS, I thought I'd try to go one step further:
MAME, on a Windows 10 machine, running VT240 emulation and connected to a WSL2-based Debian install on the same machine.
On WSL: socat -d -d exec:'bash -li',pty,stderr,setsid,sigint,sane TCP-LISTEN:11313,reuseaddr,fork
On Windows: .\mame64.exe vt240 -window -host null_modem -bitb socket.172.27.18.68:11313
EDIT: After that, you'll definitely need to "export TERM=vt220" inside MAME's emulation to make sure that it's not sending junk to your terminal.
(172.27.18.68 is the ip address of the WSL2 semi-virtual-machine in this case; doing 'ip address' will tell you where your WSL2 VM is running)
Practical? Hell no. Fun? Absolutely!