# sockaddr_in6 Struct Reference

`#include <socket.h>`

## Data Fields
uint16_t | sin6_port
in6_addr_t | sin6_addr
uint8_t | sin6_flowinfo
uint8_t | sin6_flags

## Detailed Description

IPv6 Socket address and port

## Field Documentation

uint16_t sockaddr_in6::sin6_port

Transport layer port

in6_addr_t sockaddr_in6::sin6_addr

IPv6 address

uint8_t sockaddr_in6::sin6_flowinfo

IPv6 flow information. Reserved.

uint8_t sockaddr_in6::sin6_flags

Reserved.

The documentation for this struct was generated from the following file:

- include/sys/socket.h