DatagramReadWriteChannel

A channel for sending and receiving datagrams

Inheritors

Properties

Link copied to clipboard
abstract val incoming: ReceiveChannel<Datagram>

Incoming datagrams channel

Link copied to clipboard
abstract val outgoing: SendChannel<Datagram>

Datagram outgoing channel.

Functions

Link copied to clipboard
open suspend fun receive(): Datagram

Receive a datagram.

Link copied to clipboard
open suspend fun send(datagram: Datagram)

Send datagram.