Planeshift
|
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
Go to the source code of this file.
Defines | |
#define | IN_ADDR struct in_addr |
#define | INVALID_SOCKET -1 |
#define | LPSOCKADDR struct sockaddr * |
#define | LPSOCKADDR_IN struct sockaddr_in * |
#define | SOCK_CLOSE(a) close(a) |
#define | SOCK_IOCTL(a, b, c) ioctl(a,b,c) |
#define | SOCK_RECVFROM(a, b, c, d, e, f) recvfrom(a,(void *) 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 void *) b,c,d,e,f) |
#define | SOCKADDR_IN struct sockaddr_in |
#define | SOCKET int |
Functions | |
static void | exitSocket () |
static int | initSocket () |