Planeshift
Defines | Functions

sockwin.h File Reference

#include <winsock.h>

Go to the source code of this file.

Defines

#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 ()

Define Documentation

#define _INC_WINDOWS

Definition at line 13 of file sockwin.h.