Condividi tramite


DatagramSocketImpl.Leave(InetAddress) Method

Definition

Leave the multicast group.

[Android.Runtime.Register("leave", "(Ljava/net/InetAddress;)V", "GetLeave_Ljava_net_InetAddress_Handler")]
protected abstract void Leave (Java.Net.InetAddress? inetaddr);
[<Android.Runtime.Register("leave", "(Ljava/net/InetAddress;)V", "GetLeave_Ljava_net_InetAddress_Handler")>]
abstract member Leave : Java.Net.InetAddress -> unit

Parameters

inetaddr
InetAddress

multicast address to leave.

Attributes

Exceptions

if an error occurs while leaving the group or no multicast address was assigned.

Remarks

Leave the multicast group.

Java documentation for java.net.DatagramSocketImpl.leave(java.net.InetAddress).

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