StandardSocketOptions.IpMulticastLoop Property

Definition

Loopback for Internet Protocol (IP) multicast datagrams.

[Android.Runtime.Register("IP_MULTICAST_LOOP", ApiSince=24)]
public static Java.Net.ISocketOption? IpMulticastLoop { get; }
[<Android.Runtime.Register("IP_MULTICAST_LOOP", ApiSince=24)>]
static member IpMulticastLoop : Java.Net.ISocketOption

Property Value

Attributes

Remarks

Loopback for Internet Protocol (IP) multicast datagrams.

The value of this socket option is a Boolean that controls the <em>loopback</em> of multicast datagrams. The value of the socket option represents if the option is enabled or disabled.

The exact semantics of this socket options are system dependent. In particular, it is system dependent whether the loopback applies to multicast datagrams sent from the socket or received by the socket. For StandardProtocolFamily#INET6 IPv6 sockets then it is system dependent whether the option also applies to multicast datagrams sent to IPv4 addresses.

The initial/default value of this socket option is TRUE. An implementation allows this socket option to be set after the socket is bound. Whether the socket option can be queried or changed prior to binding the socket is system dependent.

Java documentation for java.net.StandardSocketOptions.IP_MULTICAST_LOOP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to