ENet Win32 header.
More...
#include <stdlib.h>
#include <winsock2.h>
◆ ENET_API
◆ ENET_CALLBACK
#define ENET_CALLBACK __cdecl |
◆ ENET_HOST_TO_NET_16
#define ENET_HOST_TO_NET_16 |
( |
|
value | ) |
(htons (value)) |
◆ ENET_HOST_TO_NET_32
#define ENET_HOST_TO_NET_32 |
( |
|
value | ) |
(htonl (value)) |
◆ ENET_NET_TO_HOST_16
#define ENET_NET_TO_HOST_16 |
( |
|
value | ) |
(ntohs (value)) |
◆ ENET_NET_TO_HOST_32
#define ENET_NET_TO_HOST_32 |
( |
|
value | ) |
(ntohl (value)) |
◆ ENET_SOCKET_NULL
#define ENET_SOCKET_NULL INVALID_SOCKET |
◆ ENET_SOCKETSET_ADD
#define ENET_SOCKETSET_ADD |
( |
|
sockset, |
|
|
|
socket |
|
) |
| FD_SET (socket, & (sockset)) |
◆ ENET_SOCKETSET_CHECK
#define ENET_SOCKETSET_CHECK |
( |
|
sockset, |
|
|
|
socket |
|
) |
| FD_ISSET (socket, & (sockset)) |
◆ ENET_SOCKETSET_EMPTY
#define ENET_SOCKETSET_EMPTY |
( |
|
sockset | ) |
FD_ZERO (& (sockset)) |
◆ ENET_SOCKETSET_REMOVE
#define ENET_SOCKETSET_REMOVE |
( |
|
sockset, |
|
|
|
socket |
|
) |
| FD_CLR (socket, & (sockset)) |
◆ ENetSocket
◆ ENetSocketSet