getsockopt function winsock

int getsockopt(
  1. int s,
  2. int level,
  3. int optname,
  4. Pointer<Utf8> optval,
  5. Pointer<Int32> optlen,
)

The getsockopt function retrieves a socket option.

int getsockopt(
  SOCKET s,
  int    level,
  int    optname,
  char   *optval,
  int    *optlen
);

Implementation

int getsockopt(int s, int level, int optname, Pointer<Utf8> optval,
        Pointer<Int32> optlen) =>
    _getsockopt(s, level, optname, optval, optlen);