vertx / io.vertx.rxjava.core.datagram / DatagramSocket / unlistenMulticastGroup

# unlistenMulticastGroup

`open fun unlistenMulticastGroup(multicastAddress: String, handler: Handler<AsyncResult<DatagramSocket>>): DatagramSocket`

Leaves a multicast group and stops listening for packets send to it. The is notified once the operation completes.

### Parameters

`multicastAddress` - the address of the multicast group to leave

`handler` - then handler to notify once the operation completes

Return
a reference to this, so the API can be used fluently

`open fun unlistenMulticastGroup(multicastAddress: String, networkInterface: String, source: String, handler: Handler<AsyncResult<DatagramSocket>>): DatagramSocket`

Leaves a multicast group and stops listening for packets send to it on the given network interface. The is notified once the operation completes.

### Parameters

`multicastAddress` - the address of the multicast group to join

`networkInterface` - the network interface on which to listen for packets.

`source` - the address of the source for which we will listen for multicast packets

`handler` - the handler to notify once the operation completes

Return
a reference to this, so the API can be used fluently