ktor-network / io.ktor.network.sockets / DatagramWriteChannel

DatagramWriteChannel

interface DatagramWriteChannel

A channel for sending datagrams

Properties

outgoing

abstract val outgoing: SendChannel<Datagram>

Datagram outgoing channel.

Functions

send

open suspend fun send(datagram: Datagram): Unit

Send datagram.

Inheritors

DatagramReadWriteChannel

interface DatagramReadWriteChannel : DatagramReadChannel, DatagramWriteChannel

A channel for sending and receiving datagrams