in6_addr Structure
The in6_addr structure represents an IPv6 address.
Syntax
typedef struct in6_addr {
union {
u_char Byte[16];
u_short Word[8];
} u;
} IN6_ADDR, *PIN6_ADDR, FAR *LPIN6_ADDR;
Mitglieder
u
Byte
An IPv6 address formatted as an array of sixteen u_chars.Word
An IPv6 address formatted as an array of eight u_shorts.
Hinweise
The in6_addr structure is used with IPv6 addresses.
The in6_addr structure is the IPv6 equivalent of the IPv4-based in_addr structure.
Hinweis The IN6_ADDR, PIN6_ADDR, and LPIN6_ADDR derived structures are only defined on the Windows SDK released with Windows Vista and later. The IN6_ADDR, PIN6_ADDR, and LPIN6_ADDR derived structures are defined in the In6addr.h header file. The in6_addr structure should be used on earlier versions of the Windows SDK.
Anforderungen
Mindestens unterstützter Client |
Windows XP |
Mindestens unterstützter Server |
Windows Server 2003 |
Header |
In6addr.h; Ws2tcpip.h on Windows Server 2003 and Windows XP |