public class McastReceiverTest
extends java.lang.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.
- 版本:
- $Revision: 1.7 $
- 作者:
- Bela Ban
- 另请参阅:
McastSenderTest