SOC_GetHostByName

C Specification

#include <nitroWiFi/soc.h>
SOCHostEnt* SOC_GetHostByName( const char* name );

Arguments

name Host name or numeric format character string in dot-decimal expression.

Return Values

Returns pointer to SOCHostEnt structure when requested entry is found. Otherwise returns NULL.

Description

This function returns information about the host having the name name.

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

See Also

SOC_GetHostByAddr, SOCConfig, SOCHostEnt

Revision History

09/13/2005 Initial version.