#include <nitroWiFi/soc.h>
#define SOC_PF_INET 2 // ARPA Internet protocols
typedef struct SOCSockAddr
{
u8 len;
u8 family;
u8 data[6];
} SOCSockAddr;
SOCSockAddr is a general data type to express socket addresses. When passing the socket address structure to a function as an argument, set the len element to sizeof(SOCSockAddr).
Note: In the DS socket library, the size of the socket address structure is not used as a function argument.
SOC_Bind, SOC_Connect, SOC_Accept, SOC_GetSockName, SOCInAddr, SOCSockAddrIn
2005/09/13 Initial version.
CONFIDENTIAL