This is a small PoC of a UDP client-server with the server doing discovery via broadcasting IP
- Node 12+
In different terminals you can run the following commands (you can use npm as well)
- pnpm start:client
- pnpm start:server
Run pnpm install so you can get the types for node and have a better dev experience (completely optional) choose your the script you want to debug in vscode debug tab, you can also choose to run the compound (Debug Client-Server) which runs both scripts at the same time in debug mode, then press F5 or the play button