#include <stdlib.h>
#include <sys/types.h>
#include <netinet/in.h>
Go to the source code of this file.
Data Structures | |
| struct | ENetBuffer | 
Defines | |
| #define | ENET_HOST_TO_NET_16(value) (htons (value)) | 
| macro that converts host to net byte-order of a 16-bit value  | |
| #define | ENET_HOST_TO_NET_32(value) (htonl (value)) | 
| macro that converts host to net byte-order of a 32-bit value  | |
| #define | ENET_NET_TO_HOST_16(value) (ntohs (value)) | 
| macro that converts net to host byte-order of a 16-bit value  | |
| #define | ENET_NET_TO_HOST_32(value) (ntohl (value)) | 
| macro that converts net to host byte-order of a 32-bit value  | |
| #define | ENET_CALLBACK | 
| #define | ENET_API extern | 
Typedefs | |
| typedef int | ENetSocket | 
Enumerations | |
| enum | { ENET_SOCKET_NULL = -1 } | 
 1.5.1