#include <nitroWiFi/soc.h>
SOCHostEnt* SOC_GetHostByAddr( const void* addr, int len, int type );
addr |
Pointer to address in network byte order. |
len |
Length of the address pointed to by addr. |
type |
Address family type (SOC_PF_INET in IPv4 address) |
Returns pointer to SOCHostEnt structure when requested entry is discovered.
This function returns information about the host for address addr.
Note::SOC_GetHostByAddr() is neither reentrant nor thread-safe.
SOC_GetHostByName, SOCConfig, SOCHostEnt
2005/09/13 Initial version.
CONFIDENTIAL