Ignore:
Timestamp:
Mar 2, 2009 3:50:12 PM (15 years ago)
Author:
nanang
Message:

Ticket #733:

  • Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status.
  • Added connection status checks before Symbian socket operations.
  • Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop.
  • Added sample of connection monitor in Symbian sample application (ua.cpp).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0/pjlib/src/pj/addr_resolv_symbian.cpp

    r2394 r2482  
    7272    PJ_ASSERT_RETURN(name && count && ai, PJ_EINVAL); 
    7373 
     74    // Return failure if access point is marked as down by app. 
     75    PJ_SYMBIAN_CHECK_CONNECTION(); 
     76         
    7477    // Get resolver for the specified address family 
    7578    RHostResolver &resv = PjSymbianOS::Instance()->GetResolver(af); 
Note: See TracChangeset for help on using the changeset viewer.