ENET_API ENetSocket enet_socket_accept | ( | ENetSocket | , |
ENetAddress * | |||
) |
#include <include/enet/enet.h>
References ENET_NET_TO_HOST_16, and ENET_SOCKET_NULL.
ENET_API int enet_socket_bind | ( | ENetSocket | , |
const ENetAddress * | |||
) |
#include <include/enet/enet.h>
References ENET_HOST_TO_NET_16.
Referenced by enet_host_create().
ENET_API int enet_socket_connect | ( | ENetSocket | , |
const ENetAddress * | |||
) |
#include <include/enet/enet.h>
References ENET_HOST_TO_NET_16.
ENET_API ENetSocket enet_socket_create | ( | ENetSocketType | ) |
#include <include/enet/enet.h>
References ENET_SOCKET_TYPE_DATAGRAM.
Referenced by enet_host_create().
ENET_API void enet_socket_destroy | ( | ENetSocket | ) |
#include <include/enet/enet.h>
Referenced by enet_host_create(), and enet_host_destroy().
ENET_API int enet_socket_get_address | ( | ENetSocket | , |
ENetAddress * | |||
) |
#include <include/enet/enet.h>
References ENET_NET_TO_HOST_16.
Referenced by enet_host_create().
ENET_API int enet_socket_get_option | ( | ENetSocket | , |
ENetSocketOption | , | ||
int * | |||
) |
#include <include/enet/enet.h>
References ENET_SOCKOPT_ERROR, and int().
ENET_API int enet_socket_listen | ( | ENetSocket | , |
int | |||
) |
#include <include/enet/enet.h>
ENET_API int enet_socket_receive | ( | ENetSocket | , |
ENetAddress * | , | ||
ENetBuffer * | , | ||
size_t | |||
) |
#include <include/enet/enet.h>
References ENET_NET_TO_HOST_16, and MSG_NOSIGNAL.
ENET_API int enet_socket_send | ( | ENetSocket | , |
const ENetAddress * | , | ||
const ENetBuffer * | , | ||
size_t | |||
) |
#include <include/enet/enet.h>
References ENET_HOST_TO_NET_16, and MSG_NOSIGNAL.
ENET_API int enet_socket_set_option | ( | ENetSocket | , |
ENetSocketOption | , | ||
int | |||
) |
#include <include/enet/enet.h>
References ENET_SOCKOPT_BROADCAST, ENET_SOCKOPT_NODELAY, ENET_SOCKOPT_NONBLOCK, ENET_SOCKOPT_RCVBUF, ENET_SOCKOPT_RCVTIMEO, ENET_SOCKOPT_REUSEADDR, ENET_SOCKOPT_SNDBUF, and ENET_SOCKOPT_SNDTIMEO.
Referenced by enet_host_create().
ENET_API int enet_socket_shutdown | ( | ENetSocket | , |
ENetSocketShutdown | |||
) |
#include <include/enet/enet.h>
ENET_API int enet_socket_wait | ( | ENetSocket | , |
enet_uint32 * | , | ||
enet_uint32 | |||
) |
#include <include/enet/enet.h>
References ENET_SOCKET_WAIT_INTERRUPT, ENET_SOCKET_WAIT_NONE, ENET_SOCKET_WAIT_RECEIVE, and ENET_SOCKET_WAIT_SEND.
Referenced by enet_host_service().
ENET_API int enet_socketset_select | ( | ENetSocket | , |
ENetSocketSet * | , | ||
ENetSocketSet * | , | ||
enet_uint32 | |||
) |
#include <include/enet/enet.h>