#include <nitroWiFi/soc.h>
#define SOC_PF_INET 2 // ARPA Internet protocols
typedef struct SOCSockAddrIn
{
u8 len; // size of socket address structure
u8 family; // the address family
u16 port; // the port number
SOCInAddr addr; // the Internet address
} SOCSockAddrIn;
SOCSockAddrIn is a data type that expresses Internet socket addresses. When passing the socket address structure to a function as an argument, set the len element to sizeof(SOCSockAddrIn).
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, SOCSockAddr
2005/09/13 Initial version.
CONFIDENTIAL