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