suspend fun DatagramSocket.sendAwait(packet: Buffer, port: Int, host: String): Unit
Suspending version of method io.vertx.core.datagram.DatagramSocket.send
packet
- the io.vertx.core.buffer.Buffer to write
port
- the host port of the remote peer
the host address of the remote peer
NOTE: This function has been automatically generated from io.vertx.core.datagram.DatagramSocket using Vert.x codegen.
suspend fun DatagramSocket.sendAwait(str: String, port: Int, host: String): Unit
Suspending version of method io.vertx.core.datagram.DatagramSocket.send
str
- the java.lang.String to write
port
- the host port of the remote peer
the host address of the remote peer
NOTE: This function has been automatically generated from io.vertx.core.datagram.DatagramSocket using Vert.x codegen.
suspend fun DatagramSocket.sendAwait(str: String, enc: String, port: Int, host: String): Unit
Suspending version of method io.vertx.core.datagram.DatagramSocket.send
str
- the java.lang.String to write
enc
- the charset used for encoding
port
- the host port of the remote peer
the host address of the remote peer
NOTE: This function has been automatically generated from io.vertx.core.datagram.DatagramSocket using Vert.x codegen.