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

# listenAwait

`suspend fun DatagramSocket.listenAwait(port: Int, host: String): DatagramSocket`

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

### Parameters

`port` - the port to listen on

`host` - the host to listen on

Return

DatagramSocket

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