Condividi tramite


DatagramSocketImpl.InterfaceConsts.IpMulticastIf2 Field

Definition

Caution

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

Same as above.

[Android.Runtime.Register("IP_MULTICAST_IF2")]
[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 IpMulticastIf2 = 31;
[<Android.Runtime.Register("IP_MULTICAST_IF2")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable IpMulticastIf2 : Java.Net.SocketOption

Field Value

Value = 31
Attributes

Remarks

Same as above. This option is introduced so that the behaviour with IP_MULTICAST_IF will be kept the same as before, while this new option can support setting outgoing interfaces with either IPv4 and IPv6 addresses.

NOTE: make sure there is no conflict with this

Added in 1.4.

Java documentation for java.net.SocketOptions.IP_MULTICAST_IF2.

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