Skip to content

Reliable UDP Multicast using a separate TCP ack channel per subscriber.

License

Notifications You must be signed in to change notification settings

PDXostc/reliable_multicast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RELIABLE MULTICAST

Reliable UDP Multicast using a separate TCP ack channel per subscriber.

BUILDING

make
sudo make DESTDIR=/usr/local install

Replace /usr/local with a directory of your choice

TESTING

Please note that a wireshark dissector plugin is available.

make wireshark

Test program usage

./rmc_test -?

Send single signal between publisher and subscriber

Start a publisher that:

  1. Emit periodic announce packets to potential subscribrers
  2. Waits for one subscriber to connect
  3. Sends a single packet (in a single multicast packet)
  4. Exits

Window 1:

./rmc_test -c 1

Start subscriber that:

  1. Waits for an announce packet from a publisher
  2. Connects to publisher and sets up subscribtion
  3. Receives however many packets that the publisher has to send
  4. Validates all packets
  5. Extits

Window 2:

./rmc_test -S

Send a million signals between one publisher and one subscriber

Bandwidth will be dependent on the interface that the multicast is bound to. WiFi is slower than gbit Ethernet.

./rmc_test -c 1000000
./rmc_test -S

Send a million signals from two publishers to a single subscriber.

The -i argument sets up node id to distinguish betwen two publishers.
The -e argument lists all publishers that the subscriber is to expect announce packets from.

./rmc_test -S -e1 -e2
./rmc_test -c 1000000 -i1
./rmc_test -c 1000000 -i2

Send a million signals from one publishers to two subscribers

./rmc_test -S
./rmc_test -S
./rmc_test -c 1000000

About

Reliable UDP Multicast using a separate TCP ack channel per subscriber.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages