DatagramSocketImpl.LeaveGroup(SocketAddress, NetworkInterface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Leave the multicast group.
[Android.Runtime.Register("leaveGroup", "(Ljava/net/SocketAddress;Ljava/net/NetworkInterface;)V", "GetLeaveGroup_Ljava_net_SocketAddress_Ljava_net_NetworkInterface_Handler")]
protected abstract void LeaveGroup (Java.Net.SocketAddress? mcastaddr, Java.Net.NetworkInterface? netIf);
[<Android.Runtime.Register("leaveGroup", "(Ljava/net/SocketAddress;Ljava/net/NetworkInterface;)V", "GetLeaveGroup_Ljava_net_SocketAddress_Ljava_net_NetworkInterface_Handler")>]
abstract member LeaveGroup : Java.Net.SocketAddress * Java.Net.NetworkInterface -> unit
Parameters
- mcastaddr
- SocketAddress
address to leave.
- netIf
- NetworkInterface
specified the local interface to leave the group at
- Attributes
Exceptions
if an error occurs while leaving the group.
Remarks
Leave the multicast group.
Added in 1.4.
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.