DatagramSocketImpl.JoinGroup(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.
Join the multicast group.
[Android.Runtime.Register("joinGroup", "(Ljava/net/SocketAddress;Ljava/net/NetworkInterface;)V", "GetJoinGroup_Ljava_net_SocketAddress_Ljava_net_NetworkInterface_Handler")]
protected abstract void JoinGroup (Java.Net.SocketAddress? mcastaddr, Java.Net.NetworkInterface? netIf);
[<Android.Runtime.Register("joinGroup", "(Ljava/net/SocketAddress;Ljava/net/NetworkInterface;)V", "GetJoinGroup_Ljava_net_SocketAddress_Ljava_net_NetworkInterface_Handler")>]
abstract member JoinGroup : Java.Net.SocketAddress * Java.Net.NetworkInterface -> unit
Parameters
- mcastaddr
- SocketAddress
address to join.
- netIf
- NetworkInterface
specifies the local interface to receive multicast datagram packets
- Attributes
Exceptions
if an error occurs while joining the specified multicast group.
Remarks
Join 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.