A minimal "socat like" communication tool for SMDT
What does it do? It acts as a bridge between a serial tty device or a socket and a remote server.
Navigate to the src folder and run this command in your terminal:
gcc main.c -o smdtpc
SMDT-PC can be used in three ways;
Piping raw traffic between a Mega Drive and a remote server:
./smdtpc -local=/dev/ttyS4 -remote=127.0.0.1:6969
Use the xport "communication protocol", this allow a Mega Drive to talk to and control network connections on the PC side:
./smdtpc -xport /dev/ttyS4
Same as above, but connects to a socket instead of a serial tty device.
Use this method when running an emulated Mega Drive on BlastEm:
./smdtpc -xportsock ./socketfile.sock