Socket.ERROR on
failure.
ptrdiff_t sendTo(scope const(void)[] buf, SocketFlags flags, Address to) @trustedSend data to a specific destination Address. If the destination address is not specified, a connection must have been made and that address is used. If the socket is blocking and there is no buffer space left, sendTo waits.
Socket.ERROR on
failure.
ptrdiff_t sendTo(scope const(void)[] buf, Address to)ditto
ptrdiff_t sendTo(scope const(void)[] buf, SocketFlags flags) @trustedditto
ptrdiff_t sendTo(scope const(void)[] buf)ditto