PollDtlsTransport.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), IoResult.WOULD_BLOCK if socket buffer

is full, IoResult.ERROR on failure.