accept function winsock

int accept(
  1. int s,
  2. Pointer<SOCKADDR> addr,
  3. Pointer<Int32> addrlen
)

The accept function permits an incoming connection attempt on a socket.

SOCKET WSAAPI accept(
  SOCKET   s,
  sockaddr *addr,
  int      *addrlen
);

Implementation

int accept(int s, Pointer<SOCKADDR> addr, Pointer<Int32> addrlen) =>
    _accept(s, addr, addrlen);