IN6_ADDR structure (in6addr.h)

The IN6_ADDR structure specifies an IPv6 transport address.

Syntax

typedef struct in6_addr {
  union {
    UCHAR  Byte[16];
    USHORT Word[8];
  } u;
} IN6_ADDR, *PIN6_ADDR, *LPIN6_ADDR;

Members

u

A union that contains the following different representations of the IPv6 transport address:

u.Byte[16]

An array that contains 16 UCHAR-typed values.

u.Word[8]

An array that contains eight USHORT-typed values.

Remarks

All members of the IN6_ADDR structure must be specified in network-byte-order (big-endian).

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header in6addr.h (include Ws2ipdef.h)

See also

SOCKADDR_IN6