Java Network Traffic Generator

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

A Java program sends multicast socket using DatagramSocket and listens for multicast traffic with MulticastSocket.

GitHub

https://github.com/NovaOrdis/playground/tree/master/java/multicast

User Manual

Listen for multicast:

java -jar multicast.jar listen  <network-interface> <multicast-address>:<port>

Send multicast:

java -jar multicast.jar send <network-interface> <multicast-address>:<port>