|
int32_t | SlNetUtil_init (int32_t flags) |
| Initialize the SlNetUtil module. More...
|
|
const char * | SlNetUtil_gaiStrErr (int32_t errorCode) |
| Return text descriptions of getAddrInfo error codes. More...
|
|
int32_t | SlNetUtil_getHostByName (uint32_t ifBitmap, char *name, const uint16_t nameLen, uint32_t *ipAddr, uint16_t *ipAddrLen, const uint8_t family) |
| Get host IP by name
Obtain the IP Address of machine on network, by machine name. More...
|
|
int32_t | SlNetUtil_getAddrInfo (uint16_t ifID, const char *node, const char *service, const struct SlNetUtil_addrInfo_t *hints, struct SlNetUtil_addrInfo_t **res) |
| Network address and service translation. More...
|
|
void | SlNetUtil_freeAddrInfo (struct SlNetUtil_addrInfo_t *res) |
| Free the results returned from SlNetUtil_getAddrInfo. More...
|
|
uint32_t | SlNetUtil_htonl (uint32_t val) |
| Reorder the bytes of a 32-bit unsigned value. More...
|
|
uint32_t | SlNetUtil_ntohl (uint32_t val) |
| Reorder the bytes of a 32-bit unsigned value. More...
|
|
uint16_t | SlNetUtil_htons (uint16_t val) |
| Reorder the bytes of a 16-bit unsigned value. More...
|
|
uint16_t | SlNetUtil_ntohs (uint16_t val) |
| Reorder the bytes of a 16-bit unsigned value. More...
|
|
int | SlNetUtil_inetAton (const char *str, struct SlNetSock_InAddr_t *addr) |
| Convert an IPv4 address in string format to binary format. More...
|
|
const char * | SlNetUtil_inetNtop (int16_t addrFamily, const void *binaryAddr, char *strAddr, SlNetSocklen_t strAddrLen) |
| Converts IP address in binary representation to string representation. More...
|
|
int32_t | SlNetUtil_inetPton (int16_t addrFamily, const char *strAddr, void *binaryAddr) |
| Converts IP address in string representation to binary representation. More...
|
|