SOC_GetHostByAddr

C Specification

#include <nitroWiFi/soc.h>
SOCHostEnt* SOC_GetHostByAddr( const void* addr, int len, int type );

Arguments

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)

Return Values

Returns pointer to SOCHostEnt structure when requested entry is discovered.

Description

This function returns information about the host for address addr.

Note::SOC_GetHostByAddr() is neither reentrant nor thread-safe.

See Also

SOC_GetHostByName, SOCConfig, SOCHostEnt

Revision History

09/13/2005 Initial version.