DTLSSocket
UDP socket that supports encryption via DTLS.
To construct a
DTLSSocket, use the dtlsClient and dtlsServer methods on TLSContext.- Companion
- object
Type members
Inherited classlikes
trait GroupMembership
Result of joining a multicast group on a UDP socket.
- Inhertied from
- DatagramSocket
Value members
Methods
Inherited methods
Writes a single datagram to this udp socket.
- Value Params
- datagram
-
datagram to write
- Inhertied from
- DatagramSocket
Reads datagrams received from this udp socket.
Note that multiple
amount of messages.
reads may execute at same time, causing each evaluation to receive fairamount of messages.
- Returns
-
stream of datagrams
- Inhertied from
- DatagramSocket
Joins a multicast group on a specific network interface.
- Value Params
- interface
-
network interface upon which to listen for datagrams
- join
-
group to join
- Inhertied from
- DatagramSocket