Sdílet prostřednictvím


SocketOptions.IpMulticastLoop Field

Definition

Caution

This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.

This option enables or disables local loopback of multicast datagrams.

[Android.Runtime.Register("IP_MULTICAST_LOOP")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)]
public const Java.Net.SocketOption IpMulticastLoop = 18;
[<Android.Runtime.Register("IP_MULTICAST_LOOP")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable IpMulticastLoop : Java.Net.SocketOption

Field Value

Value = 18
Attributes

Remarks

This option enables or disables local loopback of multicast datagrams. This option is enabled by default for Multicast Sockets.

Added in 1.4.

Java documentation for java.net.SocketOptions.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