BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

#include <sock.h>

Data Fields

pj_uint16_t sin6_family
 
pj_uint16_t sin6_port
 
pj_uint32_t sin6_flowinfo
 
pj_in6_addr sin6_addr
 
pj_uint32_t sin6_scope_id
 

Detailed Description

This structure describes IPv6 socket address. If PJ_SOCKADDR_HAS_LEN is not zero, then sin_zero_len member is added to this struct. As far the application is concerned, the value of this member will always be zero. Internally, PJLIB may modify the value before calling OS socket API, and reset the value back to zero before returning the struct to application.

Field Documentation

◆ sin6_addr

pj_in6_addr pj_sockaddr_in6::sin6_addr

IPv6 address.

◆ sin6_family

pj_uint16_t pj_sockaddr_in6::sin6_family

Address family

◆ sin6_flowinfo

pj_uint32_t pj_sockaddr_in6::sin6_flowinfo

IPv6 flow information

◆ sin6_port

pj_uint16_t pj_sockaddr_in6::sin6_port

Transport layer port number.

◆ sin6_scope_id

pj_uint32_t pj_sockaddr_in6::sin6_scope_id

Set of interfaces for a scope


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

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.