Class McastReceiverTest

java.lang.Object
org.jgroups.tests.McastReceiverTest

public class McastReceiverTest extends Object
Tests IP multicast. Start one or more instances of McastReceiverTest which listen for IP mcast packets and then start McastSenderTest, which sends IP mcast packets (all have to have the same IPMCAST address and port). A TTL of 0 for the McastSenderTest means that packets will only be sent to receivers on the same host. If TTL > 0, other hosts will receive the packets too. Since many routers are dropping IPMCAST traffic, this is a good way to test whether IPMCAST works between different subnets.
See Also:
  • Constructor Details

    • McastReceiverTest

      public McastReceiverTest()
  • Method Details

    • main

      public static void main(String[] args)
    • help

      static void help()