send function winsock

int send(
  1. int s,
  2. Pointer<Utf8> buf,
  3. int len,
  4. int flags,
)

The send function sends data on a connected socket.

int send(
  SOCKET     s,
  const char *buf,
  int        len,
  int        flags
);

Implementation

int send(int s, Pointer<Utf8> buf, int len, int flags) =>
    _send(s, buf, len, flags);