- groupAddress
- the multicast group to be joined.
- netInterface
- the network interface on which the datagram packets will be received.
Type Reason Java.IO.IOException if the specified address is not a multicast address. Java.Lang.IllegalArgumentException if no multicast group is specified.
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.