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

# rxBlockMulticastGroup

`open fun rxBlockMulticastGroup(multicastAddress: String, sourceToBlock: String): Single<DatagramSocket>`

Block the given address for the given multicast address and notifies the once the operation completes.

### Parameters

`multicastAddress` - the address for which you want to block the source address

`sourceToBlock` - the source address which should be blocked. You will not receive an multicast packets for it anymore.

Return

`open fun rxBlockMulticastGroup(multicastAddress: String, networkInterface: String, sourceToBlock: String): Single<DatagramSocket>`

Block the given address for the given multicast address on the given network interface and notifies the once the operation completes.

### Parameters

`multicastAddress` - the address for which you want to block the source address

`networkInterface` - the network interface on which the blocking should occur.

`sourceToBlock` - the source address which should be blocked. You will not receive an multicast packets for it anymore.

Return