recv function winsock

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

The recv function receives data from a connected socket or a bound connectionless socket.

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

Implementation

int recv(int s, Pointer<Utf8> buf, int len, int flags) =>
    _recv(s, buf, len, flags);