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/pjlib/src/pj/addr_resolv_symbian.cpp

    • Property svn:eol-style set to native
    • Property svn:keywords set to id
    r791 r806  
    4040    // Resolve! 
    4141    TNameEntry nameEntry; 
    42     TInt rc = resv.GetByName(data, nameEntry); 
    43  
    44     if (rc != KErrNone) 
    45         return PJ_RETURN_OS_ERROR(rc); 
     42    TRequestStatus reqStatus; 
     43     
     44    resv.GetByName(data, nameEntry, reqStatus); 
     45    User::WaitForRequest(reqStatus); 
     46     
     47    if (reqStatus != KErrNone) 
     48        return PJ_RETURN_OS_ERROR(reqStatus.Int()); 
    4649 
    4750    // Get the resolved TInetAddr 
Note: See TracChangeset for help on using the changeset viewer.