Java Network Traffic Generator: Difference between revisions
Jump to navigation
Jump to search
(→GitHub) |
|||
Line 14: | Line 14: | ||
=GitHub= | =GitHub= | ||
{{External|https://github.com/NovaOrdis/playground/tree/master/java/multicast}} | {{External|https://github.com/NovaOrdis/playground/tree/master/java/network/multicast}} | ||
=User Manual= | =User Manual= |
Revision as of 20:18, 15 March 2017
External
- https://docs.oracle.com/javase/tutorial/networking/datagrams/broadcasting.html
- https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html
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>