~chiefnoah/multicast-playground

A playground for multicast networking and mDNS

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~chiefnoah/multicast-playground
read/write
git@git.sr.ht:~chiefnoah/multicast-playground

You can also use your local clone with git send-email.

#Multicast Playground

This is a simple application to demonstrate and test a heavy-data producing application that sends its data to a multicast address and zero or more receiving applications receive the data and process it.

The data producing half of the system is called datablaster. It selects a random multicast address in a 'Administratively scoped' block, registers a service using mDNS/DNS-SD, and begins producing and sending data continuously.

To start up datablaster, simply run:

cargo run --bin datablaster

The data listenening or receiving half of the system is called datalistener. It queries for the service registered by datablaster (using mDNS/DNS-SD) continuously until it finds a datablaster SRV and corresponding A/AAAA record and then begins receiving the data frames and processing them (just logging them for now).

To start up datalistener, run:

cargo run --bin datalistener