void leaveMulticast(
InternetAddress group,
{NetworkInterface interface}
)

Leave a multicast group.

If an error occur when trying to join the multicase group an exception is thrown.

Source

/**
 * Leave a multicast group.
 *
 * If an error occur when trying to join the multicase group an
 * exception is thrown.
 */
void leaveMulticast(InternetAddress group, {NetworkInterface interface});