Orxonox
0.0.5 Codename: Arcturus
|
Functions | |
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 ENetHostAddress | enet_address_map4 (enet_uint32 address) |
Maps an IPv4 Address to an IPv6 address. 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 ENetAddressFamily | enet_get_address_family (const ENetAddress *address) |
Returns the Address family of an (IPv4-mapped) IPv6 address. More... | |
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.
address | address used for reverse lookup |
hostName | destination for name, must not be NULL |
nameLength | maximum length of hostName. |
0 | on success |
< | 0 on failure |
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.
address | address printed |
hostName | destination for name, must not be NULL |
nameLength | maximum length of hostName. |
0 | on success |
< | 0 on failure |
ENET_API ENetHostAddress enet_address_map4 | ( | enet_uint32 | address | ) |
Maps an IPv4 Address to an IPv6 address.
address | IPv4 address in network byte order |
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.
address | destination to store resolved address |
hostName | host name to lookup |
0 | on success |
< | 0 on failure |
ENET_API ENetAddressFamily enet_get_address_family | ( | const ENetAddress * | address | ) |
Returns the Address family of an (IPv4-mapped) IPv6 address.
address | IPv6 address |