Orxonox  0.0.5 Codename: Arcturus
Functions
ENet socket functions

Functions

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

Detailed Description

Function Documentation

ENET_API ENetSocket enet_socket_accept ( ENetSocket  ,
ENetAddress ,
ENetAddressFamily   
)
ENET_API int enet_socket_bind ( ENetSocket  ,
const ENetAddress ,
ENetAddressFamily   
)
ENET_API int enet_socket_connect ( ENetSocket  ,
const ENetAddress ,
ENetAddressFamily   
)
ENET_API ENetSocket enet_socket_create ( ENetSocketType  ,
ENetAddressFamily   
)
ENET_API void enet_socket_destroy ( ENetSocket  )
ENET_API int enet_socket_listen ( ENetSocket  ,
int   
)
ENET_API int enet_socket_receive ( ENetSocket  ,
ENetAddress ,
ENetBuffer ,
size_t  ,
ENetAddressFamily   
)
ENET_API int enet_socket_send ( ENetSocket  ,
const ENetAddress ,
const ENetBuffer ,
size_t  ,
ENetAddressFamily   
)
ENET_API int enet_socket_set_option ( ENetSocket  ,
ENetSocketOption  ,
int   
)
ENET_API int enet_socket_wait ( ENetSocket  ,
ENetSocket  ,
enet_uint32 ,
enet_uint32   
)
ENET_API int enet_socketset_select ( ENetSocket  ,
ENetSocketSet ,
ENetSocketSet ,
enet_uint32   
)