This is a server client pair demonstrating secure TLS connection between them and also UDP multicast of the same data.
- Initialize the project using
npm run init
- Compile the project using
npm run build
- Start the server using
npm run server --port=1337 --broadcast=230.185.192.108:41848
ornpm run server --port=1337 --broadcast=[ff02::1]:41428
- Start the client broadcaster using
npm run client --connect=localhost:1337
ornpm run client --connect=[::1]:1337
- Start the client receiver using
npm run client --listen=230.185.192.108:41848
ornpm run client --listen=[ff02::1]:41428
Server
- Start the server using
npm run server --port=<PORT> --broadcast=<MCAST_ADDR+PORT>
. e.g.npm run server --port=1337 --broadcast=230.185.192.108:41848
Client Broadcaster
- Start the client using
npm run client --connect=<SERVER_ADDR+PORT>
. e.g.npm run client --connect=localhost:1337
Client Receiver
- Start the client using
npm run client --listen=<MCAST_ADDR+PORT>
. e.g.npm run client --listen=230.185.192.108:41848