#include <sip_transport_tcp.h>
Settings to be specified when creating the TCP transport. Application should initialize this structure with its default values by calling pjsip_tcp_transport_cfg_default().
◆ af
int pjsip_tcp_transport_cfg::af |
◆ bind_addr
Optional address to bind the socket to. Default is to bind to PJ_INADDR_ANY and to any available port.
◆ reuse_addr
pj_bool_t pjsip_tcp_transport_cfg::reuse_addr |
Should SO_REUSEADDR be used for the listener socket. Default value is PJSIP_TCP_TRANSPORT_REUSEADDR.
◆ addr_name
Optional published address, which is the address to be advertised as the address of this SIP transport. By default the bound address will be used as the published address.
◆ async_cnt
unsigned pjsip_tcp_transport_cfg::async_cnt |
Number of simultaneous asynchronous accept() operations to be supported. It is recommended that the number here corresponds to the number of processors in the system (or the number of SIP worker threads).
Default: 1
◆ qos_type
QoS traffic type to be set on this transport. When application wants to apply QoS tagging to the transport, it's preferable to set this field rather than qos_param fields since this is more portable.
Default is QoS not set.
◆ qos_params
Set the low level QoS parameters to the transport. This is a lower level operation than setting the qos_type field and may not be supported on all platforms.
Default is QoS not set.
◆ sockopt_params
Specify options to be set on the transport.
By default there is no options.
◆ initial_timeout
unsigned pjsip_tcp_transport_cfg::initial_timeout |
Intial timeout interval to be applied to incoming transports (i.e. server side) when no data received after a successful connection.
Default: PJSIP_TCP_INITIAL_TIMEOUT
The documentation for this struct was generated from the following file: