Socket.sendTo

send data over an unconnected socket

The second form allows passing SockAddr* types directly

  1. ssize_t sendTo(void[] data, int flags, SockAddr destAddr, Timeout timeout)
    struct Socket
    @trusted @nogc
    ssize_t
    sendTo
    (
    const void[] data
    ,
    int flags
    ,
    SockAddr destAddr
    ,)
  2. ssize_t sendTo(void[] data, int flags, SA destAddr, Timeout timeout)

Meta