vertx / io.vertx.kotlin.core.datagram / io.vertx.core.datagram.DatagramSocket / blockMulticastGroupAwait

# blockMulticastGroupAwait

`suspend fun DatagramSocket.blockMulticastGroupAwait(multicastAddress: String, sourceToBlock: String): DatagramSocket`

Suspending version of method io.vertx.core.datagram.DatagramSocket.blockMulticastGroup

### 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

DatagramSocket

NOTE: This function has been automatically generated from io.vertx.core.datagram.DatagramSocket using Vert.x codegen.

`suspend fun DatagramSocket.blockMulticastGroupAwait(multicastAddress: String, networkInterface: String, sourceToBlock: String): DatagramSocket`

Suspending version of method io.vertx.core.datagram.DatagramSocket.blockMulticastGroup

### 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

DatagramSocket

NOTE: This function has been automatically generated from io.vertx.core.datagram.DatagramSocket using Vert.x codegen.