#include <nitroWiFi/soc.h>
#define SOC_PF_INET 2 // ARPA Internet protocols
typedef struct SOCHostEnt
{
char* name; // official name of host
char** aliases; // alias list (zero-terminated)
s16 addrType; // always SOC_PF_INET
s16 length; // length of address
u8** addrList; // list of addresses
} SOCHostEnt;
Note: In the current implementation of the DS socket library, SOC_GetHostByAddr()
and SOC_GetHostByName()
do not obtain the alias list.
SOC_GetHostByAddr
, SOC_GetHostByName
12/12/2005 Modified Description.
9/13/2005 Initial version.