|
ENET_API int | enet_address_get_host (const ENetAddress *address, char *hostName, size_t nameLength) |
| Attempts to do a reverse lookup of the host field in the address parameter. More...
|
|
ENET_API int | enet_address_get_host_ip (const ENetAddress *address, char *hostName, size_t nameLength) |
| Gives the printable form of the IP address specified in the address parameter. More...
|
|
ENET_API int | enet_address_set_host (ENetAddress *address, const char *hostName) |
| Attempts to resolve the host named by the parameter hostName and sets the host field in the address parameter if successful. More...
|
|
ENET_API enet_uint32 | enet_crc32 (const ENetBuffer *, size_t) |
|
ENET_API void | enet_deinitialize (void) |
| Shuts down ENet globally. More...
|
|
ENET_API void | enet_host_bandwidth_limit (ENetHost *, enet_uint32, enet_uint32) |
| Adjusts the bandwidth limits of a host. More...
|
|
void | enet_host_bandwidth_throttle (ENetHost *) |
|
ENET_API void | enet_host_broadcast (ENetHost *, enet_uint8, ENetPacket *) |
| Queues a packet to be sent to all peers associated with the host. More...
|
|
ENET_API void | enet_host_channel_limit (ENetHost *, size_t) |
| Limits the maximum allowed channels of future incoming connections. More...
|
|
ENET_API int | enet_host_check_events (ENetHost *, ENetEvent *) |
| Checks for any queued events on the host and dispatches one if available. More...
|
|
ENET_API void | enet_host_compress (ENetHost *, const ENetCompressor *) |
| Sets the packet compressor the host should use to compress and decompress packets. More...
|
|
ENET_API int | enet_host_compress_with_range_coder (ENetHost *host) |
| Sets the packet compressor the host should use to the default range coder. More...
|
|
ENET_API ENetPeer * | enet_host_connect (ENetHost *, const ENetAddress *, size_t, enet_uint32) |
| Initiates a connection to a foreign host. More...
|
|
ENET_API ENetHost * | enet_host_create (const ENetAddress *, size_t, size_t, enet_uint32, enet_uint32) |
| Creates a host for communicating to peers. More...
|
|
ENET_API void | enet_host_destroy (ENetHost *) |
| Destroys the host and all resources associated with it. More...
|
|
ENET_API void | enet_host_flush (ENetHost *) |
| Sends any queued packets on the host specified to its designated peers. More...
|
|
enet_uint32 | enet_host_random_seed (void) |
|
ENET_API int | enet_host_service (ENetHost *, ENetEvent *, enet_uint32) |
| Waits for events on the host specified and shuttles packets between the host and its peers. More...
|
|
ENET_API int | enet_initialize (void) |
| Initializes ENet globally. More...
|
|
ENET_API int | enet_initialize_with_callbacks (ENetVersion version, const ENetCallbacks *inits) |
| Initializes ENet globally and supplies user-overridden callbacks. More...
|
|
ENET_API ENetVersion | enet_linked_version (void) |
| Gives the linked version of the ENet library. More...
|
|
ENET_API ENetPacket * | enet_packet_create (const void *, size_t, enet_uint32) |
| Creates a packet that may be sent to a peer. More...
|
|
ENET_API void | enet_packet_destroy (ENetPacket *) |
| Destroys the packet and deallocates its data. More...
|
|
ENET_API int | enet_packet_resize (ENetPacket *, size_t) |
| Attempts to resize the data in the packet to length specified in the dataLength parameter. More...
|
|
ENET_API void | enet_peer_disconnect (ENetPeer *, enet_uint32) |
| Request a disconnection from a peer. More...
|
|
ENET_API void | enet_peer_disconnect_later (ENetPeer *, enet_uint32) |
| Request a disconnection from a peer, but only after all queued outgoing packets are sent. More...
|
|
ENET_API void | enet_peer_disconnect_now (ENetPeer *, enet_uint32) |
| Force an immediate disconnection from a peer. More...
|
|
void | enet_peer_dispatch_incoming_reliable_commands (ENetPeer *, ENetChannel *) |
|
void | enet_peer_dispatch_incoming_unreliable_commands (ENetPeer *, ENetChannel *) |
|
void | enet_peer_on_connect (ENetPeer *) |
|
void | enet_peer_on_disconnect (ENetPeer *) |
|
ENET_API void | enet_peer_ping (ENetPeer *) |
| Sends a ping request to a peer. More...
|
|
ENET_API void | enet_peer_ping_interval (ENetPeer *, enet_uint32) |
| Sets the interval at which pings will be sent to a peer. More...
|
|
ENetAcknowledgement * | enet_peer_queue_acknowledgement (ENetPeer *, const ENetProtocol *, enet_uint16) |
|
ENetIncomingCommand * | enet_peer_queue_incoming_command (ENetPeer *, const ENetProtocol *, const void *, size_t, enet_uint32, enet_uint32) |
|
ENetOutgoingCommand * | enet_peer_queue_outgoing_command (ENetPeer *, const ENetProtocol *, ENetPacket *, enet_uint32, enet_uint16) |
|
ENET_API ENetPacket * | enet_peer_receive (ENetPeer *, enet_uint8 *channelID) |
| Attempts to dequeue any incoming queued packet. More...
|
|
ENET_API void | enet_peer_reset (ENetPeer *) |
| Forcefully disconnects a peer. More...
|
|
void | enet_peer_reset_queues (ENetPeer *) |
|
ENET_API int | enet_peer_send (ENetPeer *, enet_uint8, ENetPacket *) |
| Queues a packet to be sent. More...
|
|
void | enet_peer_setup_outgoing_command (ENetPeer *, ENetOutgoingCommand *) |
|
int | enet_peer_throttle (ENetPeer *, enet_uint32) |
|
ENET_API void | enet_peer_throttle_configure (ENetPeer *, enet_uint32, enet_uint32, enet_uint32) |
| Configures throttle parameter for a peer. More...
|
|
ENET_API void | enet_peer_timeout (ENetPeer *, enet_uint32, enet_uint32, enet_uint32) |
| Sets the timeout parameters for a peer. More...
|
|
size_t | enet_protocol_command_size (enet_uint8) |
|
ENET_API size_t | enet_range_coder_compress (void *, const ENetBuffer *, size_t, size_t, enet_uint8 *, size_t) |
|
ENET_API void * | enet_range_coder_create (void) |
|
ENET_API size_t | enet_range_coder_decompress (void *, const enet_uint8 *, size_t, enet_uint8 *, size_t) |
|
ENET_API void | enet_range_coder_destroy (void *) |
|
ENET_API ENetSocket | enet_socket_accept (ENetSocket, ENetAddress *) |
|
ENET_API int | enet_socket_bind (ENetSocket, const ENetAddress *) |
|
ENET_API int | enet_socket_connect (ENetSocket, const ENetAddress *) |
|
ENET_API ENetSocket | enet_socket_create (ENetSocketType) |
|
ENET_API void | enet_socket_destroy (ENetSocket) |
|
ENET_API int | enet_socket_get_address (ENetSocket, ENetAddress *) |
|
ENET_API int | enet_socket_get_option (ENetSocket, ENetSocketOption, int *) |
|
ENET_API int | enet_socket_listen (ENetSocket, int) |
|
ENET_API int | enet_socket_receive (ENetSocket, ENetAddress *, ENetBuffer *, size_t) |
|
ENET_API int | enet_socket_send (ENetSocket, const ENetAddress *, const ENetBuffer *, size_t) |
|
ENET_API int | enet_socket_set_option (ENetSocket, ENetSocketOption, int) |
|
ENET_API int | enet_socket_shutdown (ENetSocket, ENetSocketShutdown) |
|
ENET_API int | enet_socket_wait (ENetSocket, enet_uint32 *, enet_uint32) |
|
ENET_API int | enet_socketset_select (ENetSocket, ENetSocketSet *, ENetSocketSet *, enet_uint32) |
|
ENET_API enet_uint32 | enet_time_get (void) |
| Returns the wall-time in milliseconds. More...
|
|
ENET_API void | enet_time_set (enet_uint32) |
| Sets the current wall-time in milliseconds. More...
|
|
typedef | enet_uint32 (ENET_CALLBACK *ENetChecksumCallback)(const ENetBuffer *buffers |
| Callback that computes the checksum of the data held in buffers[0:bufferCount-1]. More...
|
|
typedef | int (ENET_CALLBACK *ENetInterceptCallback)(struct _ENetHost *host |
| Callback for intercepting received raw UDP packets. More...
|
|
typedef | void (ENET_CALLBACK *ENetPacketFreeCallback)(struct _ENetPacket *) |
|