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

### Extensions for io.vertx.core.datagram.DatagramSocket

blockMulticastGroupAwait | `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. `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.
closeAwait | `suspend fun DatagramSocket.closeAwait(): Unit` Closes the io.vertx.core.datagram.DatagramSocket implementation asynchronous and notifies the handler once done.
listenAwait | `suspend fun DatagramSocket.listenAwait(port: Int, host: String): DatagramSocket` Start listening on the given port and host. The handler will be called when the socket is listening.
listenMulticastGroupAwait | `suspend fun DatagramSocket.listenMulticastGroupAwait(multicastAddress: String): DatagramSocket` Joins a multicast group and listens for packets send to it. The is notified once the operation completes. `suspend fun DatagramSocket.listenMulticastGroupAwait(multicastAddress: String, networkInterface: String, source: String): DatagramSocket` Joins a multicast group and listens for packets send to it on the given network interface. The is notified once the operation completes.
sendAwait | `suspend fun DatagramSocket.sendAwait(packet: Buffer, port: Int, host: String): DatagramSocket` Write the given io.vertx.core.buffer.Buffer to the io.vertx.core.net.SocketAddress. The io.vertx.core.Handler will be notified once the write completes. `suspend fun DatagramSocket.sendAwait(str: String, port: Int, host: String): DatagramSocket` Write the given java.lang.String to the io.vertx.core.net.SocketAddress using UTF8 encoding. The will be notified once the write completes. `suspend fun DatagramSocket.sendAwait(str: String, enc: String, port: Int, host: String): DatagramSocket` Write the given java.lang.String to the io.vertx.core.net.SocketAddress using the given encoding. The will be notified once the write completes.
unlistenMulticastGroupAwait | `suspend fun DatagramSocket.unlistenMulticastGroupAwait(multicastAddress: String): DatagramSocket` Leaves a multicast group and stops listening for packets send to it. The is notified once the operation completes. `suspend fun DatagramSocket.unlistenMulticastGroupAwait(multicastAddress: String, networkInterface: String, source: String): 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.