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/turn_sock.h

    r4197 r4343  
    141141     */ 
    142142    pj_bool_t qos_ignore_error; 
     143 
     144    /** 
     145     * Specify the interface where the socket should be bound to. If the 
     146     * address is zero, socket will be bound to INADDR_ANY. If the address 
     147     * is non-zero, socket will be bound to this address only. If the port is 
     148     * set to zero, the socket will bind at any port (chosen by the OS). 
     149     */ 
     150    pj_sockaddr bound_addr; 
     151 
     152    /** 
     153     * Specify the port range for TURN socket binding, relative to the start 
     154     * port number specified in \a bound_addr. Note that this setting is only 
     155     * applicable when the start port number is non zero. 
     156     * 
     157     * Default value is zero. 
     158     */ 
     159    pj_uint16_t port_range; 
    143160 
    144161} pj_turn_sock_cfg; 
Note: See TracChangeset for help on using the changeset viewer.