Java Network Traffic Generator: Difference between revisions
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
<pre> | <pre> | ||
java -jar multicast.jar listen | java -jar multicast.jar listen <network-interface> <multicast-address>:<port> | ||
</pre> | </pre> | ||
Revision as of 01:05, 15 March 2017
External
Internal
Overview
A Java program sends multicast socket using DatagramSocket and listens for multicast traffic with MulticastSocket.
GitHub
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>