interface DatagramReadWriteChannel : DatagramReadChannel, DatagramWriteChannel
A channel for sending and receiving datagrams
abstract val incoming: ReceiveChannel<Datagram>
Incoming datagrams channel |
|
abstract val outgoing: SendChannel<Datagram>
Datagram outgoing channel. |
open suspend fun receive(): Datagram
Receive a datagram. |
|
open suspend fun send(datagram: Datagram): Unit
Send datagram. |
interface BoundDatagramSocket : ASocket, ABoundSocket, AReadable, DatagramReadWriteChannel
Represents a bound datagram socket |
|
interface ConnectedDatagramSocket : ASocket, ABoundSocket, AConnectedSocket, ReadWriteSocket, DatagramReadWriteChannel
Represents a connected datagram socket. |