pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJNATH Reference

pj_stun_sock_info Struct Reference
[STUN aware socket transport]


Detailed Description

This structure contains information about the STUN transport. Application may query this information by calling pj_stun_sock_get_info().

Data Fields

pj_sockaddr bound_addr
pj_sockaddr srv_addr
pj_sockaddr mapped_addr
unsigned alias_cnt
pj_sockaddr aliases [PJ_ICE_ST_MAX_CAND]

Field Documentation

The bound address of the socket.

IP address of the STUN server.

The publicly mapped address. It may contain zero address when the mapped address has not been resolved. Application may query whether this field contains valid address with pj_sockaddr_has_addr().

Number of interface address aliases. The interface address aliases are list of all interface addresses in this host.

Array of interface address aliases.


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

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
(C)2001-2008 Benny Prijono