Requires Haxe and the cpp haxelib
Compile the server with:
haxe -cpp server -main Server
Compile the client with:
haxe -cpp client -main Client
Start the server:
./server/Server
In another terminal, run the client, e.g. targetting the localhost:
./client/Client 127.0.0.1
Observe the message passed from Server to Client
client_server.mp4
Related reading: