Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Networking >> Protocols >> TCP/IP >> Multicast >> How to test IP multicast using JGroups java library

download jgroups.jar from http://jgroups.org

Assuming IP multicast address used is 224.10.10.10 and port is 5555 and all firewall rules are in place to allow connection from the sender machine and the receivers

 

On the receivers 

cd dir-where-you-have-jgroups.jar

java -cp jgroups.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555

 

On the sender

cd dir-where-you-have-jgroups.jar

java -cp jgroups.jar org.jgroups.tests.McastSenderTest -mcast_addr 224.10.10.10 -port 5555

 

 Once connected, whatever you type in the sender will appear in all the receivers.

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]