Planeshift
sockwin.h File Reference
#include <winsock.h>

Go to the source code of this file.

Macros

#define _INC_WINDOWS
 
#define INET_ADDRSTRLEN   22
 
#define SOCK_CLOSE(a)   closesocket(a)
 
#define SOCK_IOCTL(a, b, c)   ioctlsocket(a,b,(unsigned long *)c)
 
#define SOCK_RECVFROM(a, b, c, d, e, f)   recvfrom(a,(char *)b,c,d,e,f)
 
#define SOCK_SELECT(max, read, write, except, timeout)   select(max,read,write,except,timeout)
 
#define SOCK_SENDTO(a, b, c, d, e, f)   sendto(a,(const char *)b,c,d,e,f)
 
#define socklen_t   int
 

Functions

static void exitSocket ()
 
static int initSocket ()
 

Macro Definition Documentation

#define _INC_WINDOWS

Definition at line 13 of file sockwin.h.

Function Documentation

static void exitSocket ( )
inlinestatic

Definition at line 47 of file sockwin.h.

static int initSocket ( )
inlinestatic

Definition at line 40 of file sockwin.h.