suspend fun DatagramSocket.blockMulticastGroupAwait(multicastAddress: String, sourceToBlock: String): DatagramSocket
Block the given address for the given multicast address and notifies the once the operation completes.
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.
handler - the handler to notify once the operation completes
Returna
reference to this, so the API can be used fluently *
suspend fun DatagramSocket.blockMulticastGroupAwait(multicastAddress: String, networkInterface: String, sourceToBlock: String): DatagramSocket
Block the given address for the given multicast address on the given network interface and notifies the once the operation completes.
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.
handler - the handler to notify once the operation completes
Returna
reference to this, so the API can be used fluently *