Home --> Documentations --> PJLIB Reference

pj_sockaddr_in Struct Reference
[Socket Abstraction]

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

Transport layer port number.


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.