Home --> Documentations --> PJLIB Reference

Data Fields

pj_uint16_t sin_family
pj_uint16_t sin_port
pj_in_addr sin_addr
char sin_zero [8]

Detailed Description

This structure describes Internet 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.

Forward declaration.

Field Documentation

pj_in_addr pj_sockaddr_in::sin_addr

IP address.

pj_uint16_t pj_sockaddr_in::sin_family

Address family.

pj_uint16_t pj_sockaddr_in::sin_port

Transport layer port number.

char pj_sockaddr_in::sin_zero[8]


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.