Added in API level 26

MulticastChannel

public interface MulticastChannel
implements NetworkChannel

java.nio.channels.MulticastChannel


A network channel that supports Internet Protocol (IP) multicasting.

IP multicasting is the transmission of IP datagrams to members of a group that is zero or more hosts identified by a single destination address.

In the case of a channel to an IPv4 socket, the underlying operating system optionally supports RFC 2236: Internet Group Management Protocol, Version 2 (IGMPv2). When IGMPv2 is supported then the operating system may additionally support source filtering as specified by RFC 3376: Internet Group Management Protocol, Version 3 (IGMPv3). For channels to an IPv6