Ignore:
Timestamp:
Feb 7, 2013 9:35:34 AM (11 years ago)
Author:
nanang
Message:

Close #1602: configurable local port range for ICE transport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_sock.h

    r4197 r4343  
    239239     * is non-zero, socket will be bound to this address only, and the 
    240240     * transport will have only one address alias (the \a alias_cnt field 
    241      * in #pj_stun_sock_info structure. 
     241     * in #pj_stun_sock_info structure. If the port is set to zero, the 
     242     * socket will bind at any port (chosen by the OS). 
    242243     */ 
    243244    pj_sockaddr bound_addr; 
     245 
     246    /** 
     247     * Specify the port range for STUN socket binding, relative to the start 
     248     * port number specified in \a bound_addr. Note that this setting is only 
     249     * applicable when the start port number is non zero. 
     250     * 
     251     * Default value is zero. 
     252     */ 
     253    pj_uint16_t port_range; 
    244254 
    245255    /** 
Note: See TracChangeset for help on using the changeset viewer.