DatagramTransport.sendTo

Send the data bytes to the remote peer given by address (a transport-dependent target address).

If $(D_PSYMBOL address) is $(D_KEYWORD null), the data is sent to the target address given on transport creation.

This method does not block; it buffers the data and arranges for it to be sent out asynchronously.

interface DatagramTransport
void
sendTo
(
const(void)[] data
,
Address address = null
)

Meta