nonblock.h 240 B

12345678
  1. #pragma once
  2. #include "socket.h"
  3. //assume s is non-blocking, return non-blocking socket
  4. SOCKET Accept4(SOCKET s, struct sockaddr* addr, socklen_t* addrlen);
  5. //create non-blocking socket
  6. SOCKET Socket4(int domain, int type, int protocol);