SOCSockAddr

C Specification

#include <nitroWiFi/soc.h>
#define SOC_PF_INET   2    // ARPA Internet protocols
typedef struct SOCSockAddr
{
u8 len;
u8 family;
u8 data[6];
} SOCSockAddr;

Description

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.

See Also

SOC_Bind, SOC_Connect, SOC_Accept, SOC_GetSockName, SOCInAddr, SOCSockAddrIn

Revision History

09/13/2005 Initial version.