#include <dolphin/ip/IP6.h>
#define SO_AF_INET6 23 // the IPv6 address family
typedef struct SOSockAddrIn6
{
u8 len; // length of this struct
u8 family; // SO_AF_INET6
u16 port; // transport layer port #
u32 flowInfo; // IPv6 flow information
SOIn6Addr addr; // IPv6 address
u32 scopeID; // set of interfaces for a scope
} SOSockAddrIn6;
SOSockAddrIn6 is the data type used to represent IPv6 Internet socket
addresses. The len field should be set to sizeof(SOSockAddrIn6)
whenever a socket function takes socket address structures as arguments.
Note: The GameCube socket functions do not take the length of the socket address structure via a function argument.