Ignore:
Timestamp:
Nov 19, 2006 2:59:13 PM (14 years ago)
Author:
bennylp
Message:

Fixes for S60 3rd edition:

  • it seems there is a problem with sending UDP packet inside connected UDP socket. This (still) causes pjlib-test to fail. No workaround yet.
  • fixed bug in Symbian's ioqueue when data is immediately available.
  • UDP connect()/getsockname() doesn't return the correct interface IP address, causing pj_gethostip() to fail, and subsequently SIP transport's name determination to fail. Because of this, for now SIP transport's name must be initialized properly (see sipstateless.c)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/symbian/pjsip-apps/src/samples/sipstateless.c

    r789 r806  
    142142    { 
    143143        pj_sockaddr_in addr; 
     144        pjsip_host_port a_name; 
    144145 
    145146        addr.sin_family = PJ_AF_INET; 
     
    147148        addr.sin_port = pj_htons(5060); 
    148149 
    149         status = pjsip_udp_transport_start( sip_endpt, &addr, NULL, 1, NULL); 
     150        a_name.host = pj_str("127.0.0.1"); 
     151        a_name.port = 5060; 
     152         
     153        status = pjsip_udp_transport_start( sip_endpt, &addr, &a_name, 1, NULL); 
    150154        if (status != PJ_SUCCESS) { 
    151155            char errmsg[PJ_ERR_MSG_SIZE]; 
Note: See TracChangeset for help on using the changeset viewer.