This RFE is for tracking purposes. As part of JSR-203 multicast support (including source-specific multicast) has been added to NIO. In addition there is a RFE 4403551 that proposes to add source-specific multicast support to MulticastSocket. It would be desirable to supplement this support with a method to test if source-specific multicast is available. The logical place for this is java.net.NetworkInterface where a supportsMulticast-like method could be added. Possible approachs are to add a supportsSourceSpecificMulticast method or a method that returns a Set of the IGMPv3 versions that are supported, eg:
public enum MulticastProtocol {
IGMP2,
IGMP3;
}
class NetworkInterface {
Set<MulticastProtocol> supportedMulticastProtcols();
}
public enum MulticastProtocol {
IGMP2,
IGMP3;
}
class NetworkInterface {
Set<MulticastProtocol> supportedMulticastProtcols();
}
- relates to
-
JDK-4403551 java.net.MulticastSocket needs to be updated for IGMPv3 and SSM
-
- Closed
-