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