-
models : Contains websocket connection, serialization stuff
-
server: start the ws endpoint
getwork
- start 2 servers by
cd server
make build test1
Then in another terminal
make test2
- client: client prog to connectto two servers, publish 5 times, then stop
cd client
make build
make test
you can play around with N clients...
Can stop the server, then client will attempt to connect within 1m
if client stop, server clear up