DtlsTransport.sendTo

ptrdiff_t sendTo(const(ubyte)[] data, DatagramEndpoint dest)

Sends a single datagram to the given address.

Parameters

dataData to send.
destDestination address.

Returns

Bytes sent (>0), or IoResult.WOULD_BLOCK if socket is not ready,

or IoResult.ERROR on failure.