Ignore:
Timestamp:
Sep 20, 2012 6:00:23 AM (12 years ago)
Author:
bennylp
Message:

Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h

    r3999 r4262  
    262262 * instance of SIP TLS transport factory and register it to the 
    263263 * transport manager. 
     264 * 
     265 * See also #pjsip_tls_transport_start2() which supports IPv6. 
    264266 * 
    265267 * @param endpt         The SIP endpoint. 
     
    295297                                               pjsip_tpfactory **p_factory); 
    296298 
    297  
     299/** 
     300 * Variant of #pjsip_tls_transport_start() that supports IPv6. To instantiate 
     301 * IPv6 listener, set the address family of the "local" argument to IPv6 
     302 * (the host and port part may be left unspecified if not desired, i.e. by 
     303 * filling them with zeroes). 
     304 * 
     305 * @param endpt         The SIP endpoint. 
     306 * @param opt           Optional TLS settings. 
     307 * @param local         Optional local address to bind, or specify the 
     308 *                      address to bind the server socket to. Both IP 
     309 *                      interface address and port fields are optional. 
     310 *                      If IP interface address is not specified, socket 
     311 *                      will be bound to any address. If port is not 
     312 *                      specified, socket will be bound to any port 
     313 *                      selected by the operating system. 
     314 * @param a_name        Optional published address, which is the address to be 
     315 *                      advertised as the address of this SIP transport. 
     316 *                      If this argument is NULL, then the bound address 
     317 *                      will be used as the published address. 
     318 * @param async_cnt     Number of simultaneous asynchronous accept() 
     319 *                      operations to be supported. It is recommended that 
     320 *                      the number here corresponds to the number of 
     321 *                      processors in the system (or the number of SIP 
     322 *                      worker threads). 
     323 * @param p_factory     Optional pointer to receive the instance of the 
     324 *                      SIP TLS transport factory just created. 
     325 * 
     326 * @return              PJ_SUCCESS when the transport has been successfully 
     327 *                      started and registered to transport manager, or 
     328 *                      the appropriate error code. 
     329 */ 
     330PJ_DECL(pj_status_t) pjsip_tls_transport_start2(pjsip_endpoint *endpt, 
     331                                                const pjsip_tls_setting *opt, 
     332                                                const pj_sockaddr *local, 
     333                                                const pjsip_host_port *a_name, 
     334                                                unsigned async_cnt, 
     335                                                pjsip_tpfactory **p_factory); 
    298336 
    299337PJ_END_DECL 
Note: See TracChangeset for help on using the changeset viewer.