IITH_CS3530_Assign2_Dec2020

What is this?

This is a server client pair demonstrating secure TLS connection between them and also UDP multicast of the same data.

Prerequisites


Get Started

  • 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 or npm run server --port=1337 --broadcast=[ff02::1]:41428
  • Start the client broadcaster using npm run client --connect=localhost:1337 or npm run client --connect=[::1]:1337
  • Start the client receiver using npm run client --listen=230.185.192.108:41848 or npm run client --listen=[ff02::1]:41428

Docs

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

References