vertx / io.vertx.reactivex.core.datagram / DatagramSocket / sender

sender

open fun sender(port: Int, host: String): WriteStream<Buffer>

Returns a WriteStream able to send to the io.vertx.reactivex.core.net.SocketAddress.

Parameters

port - the port of the remote peer

host - the host address of the remote peer

Return
the write stream for sending packets