Ignore:
Timestamp:
Oct 26, 2007 5:25:35 AM (17 years ago)
Author:
bennylp
Message:

Ticket #403: Ability to specify RConnection instance etc in PJLIB Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_symbian.cpp

    r1405 r1525  
    475475    /* Create Symbian RSocket */ 
    476476    RSocket rSock; 
    477     rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(), af, type, proto); 
     477    if (PjSymbianOS::Instance()->Connection()) 
     478        rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(),  
     479                        af, type, proto, 
     480                        *PjSymbianOS::Instance()->Connection()); 
     481    else 
     482        rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(),  
     483                        af, type, proto); 
     484         
    478485    if (rc != KErrNone) 
    479486        return PJ_RETURN_OS_ERROR(rc); 
Note: See TracChangeset for help on using the changeset viewer.