BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

#include <sock.h>

Data Fields

pj_uint16_t sa_family
 

Detailed Description

This structure describes common attributes found in transport addresses. If PJ_SOCKADDR_HAS_LEN is not zero, then sa_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

◆ sa_family

pj_uint16_t pj_addr_hdr::sa_family

Common data: address family.


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.