Home --> Documentations --> PJNATH Reference

pj_stun_sock_info Struct Reference
[STUN-aware socket transport]

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]

Detailed Description

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

Field Documentation

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

Array of interface address aliases.

The bound address of the socket.

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().

IP address of the STUN server.

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


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.