ScummVM API documentation
ENet socket functions

Description

Functions

ENetSocket enet_socket_create (ENetSocketType)
 
int enet_socket_bind (ENetSocket, const ENetAddress *)
 
int enet_socket_get_address (ENetSocket, ENetAddress *)
 
int enet_socket_listen (ENetSocket, int)
 
ENetSocket enet_socket_accept (ENetSocket, ENetAddress *)
 
int enet_socket_connect (ENetSocket, const ENetAddress *)
 
int enet_socket_send (ENetSocket, const ENetAddress *, const ENetBuffer *, size_t)
 
int enet_socket_receive (ENetSocket, ENetAddress *, ENetBuffer *, size_t)
 
int enet_socket_wait (ENetSocket, enet_uint32 *, enet_uint32)
 
int enet_socket_set_option (ENetSocket, ENetSocketOption, int)
 
int enet_socket_get_option (ENetSocket, ENetSocketOption, int *)
 
int enet_socket_shutdown (ENetSocket, ENetSocketShutdown)
 
void enet_socket_destroy (ENetSocket)
 
int enet_socketset_select (ENetSocket, ENetSocketSet *, ENetSocketSet *, enet_uint32)