aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/nonblock.h
blob: a16601b642fe494d8c59694798dde9202faf209d (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);