sendto function winsock

int sendto(
  1. int s,
  2. Pointer<Utf8> buf,
  3. int len,
  4. int flags,
  5. Pointer<SOCKADDR> to,
  6. int tolen,
)

The sendto function sends data to a specific destination.

int sendto(
  SOCKET         s,
  const char     *buf,
  int            len,
  int            flags,
  const sockaddr *to,
  int            tolen
);

Implementation

int sendto(int s, Pointer<Utf8> buf, int len, int flags, Pointer<SOCKADDR> to,
        int tolen) =>
    _sendto(s, buf, len, flags, to, tolen);