Changes between Version 1 and Version 2 of Ticket #429


Ignore:
Timestamp:
Dec 9, 2007 2:16:49 PM (16 years ago)
Author:
bennylp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #429 – Description

    v1 v2  
    11Quoting Arie's mail on pjsip list: 
    22 
    3 > Function pjsua_media_transports_create fails when called with a  
    4 > pjsua_transport_config in which bound_addr is set to the IP-address 
    5 > of a local interface. 
    6 >  
     3> Function pjsua_media_transports_create fails when called with a pjsua_transport_config in which bound_addr is set to the IP-address of a local interface. 
     4>[[BR]] 
     5>[[BR]] 
    76> I am using release 0.8.0 without ICE. 
    8 >  
    9 > It appears that the bound_addr is converted twice from host byte order 
    10 > to network byte order: 
    11 >  
    12 > The first conversion is in create_rtp_rtcp_sock calling  via  
    13 > pj_sockaddr_in_set_str_addr (calling pj_inet_addr  etc.) 
    14 >  
    15 > The second conversion is in create_rtp_rtcp_sock calling pj_sock_bind_in 
    16 > (calling pj_htonl). 
     7>[[BR]] 
     8>[[BR]]  
     9> It appears that the bound_addr is converted twice from host byte order to network byte order: 
     10>[[BR]] 
     11>[[BR]] 
     12> The first conversion is in create_rtp_rtcp_sock calling  via pj_sockaddr_in_set_str_addr (calling pj_inet_addr  etc.) The second conversion is in create_rtp_rtcp_sock calling pj_sock_bind_in (calling pj_htonl).