#include <nitroWiFi/soc.h>
SOCHostEnt* SOC_GetHostByName( const char* name );
name |
Host name or numeric format character string in dot-decimal expression. |
Returns pointer to SOCHostEnt
structure when requested entry is found. Otherwise returns NULL
.
This function returns information about the host having the name name
.
Note: SOC_GetHostByName()
is neither reentrant nor thread-safe.
SOC_GetHostByAddr
, SOCConfig
, SOCHostEnt
09/13/2005 Initial version.