or IoResult.ERROR on failure.
DtlsTransport.sendTo
ptrdiff_t sendTo(const(ubyte)[] data, DatagramEndpoint dest)Sends a single datagram to the given address.
Parameters
data | Data to send. |
dest | Destination address. |
Returns
Bytes sent (>0), or IoResult.WOULD_BLOCK if socket is not ready,