Java.Net.MulticastSocket.JoinGroup Method
Adds this socket to the specified multicast group.

Syntax

[Android.Runtime.Register("joinGroup", "(Ljava/net/InetAddress;)V", "GetJoinGroup_Ljava_net_InetAddress_Handler")]
public virtual void JoinGroup (InetAddress groupAddr)

Parameters

groupAddr
the multicast group to be joined.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs.

Remarks

Adds this socket to the specified multicast group. A socket must join a group before data may be received. A socket may be a member of multiple groups but may join any group only once.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1