#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
2005/12/12 Modified Description.
2005/09/13 Initial version.
CONFIDENTIAL