×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2009
    Location
    Russia, Chelyabinsk
    Posts
    9

    libc socket and autoselect IAP

    hi all. i used in application libc sockets. for selecting iap used this code:

    Code:
    void SelectIAP()
    {
    	TUint32 iSelectedIap = 1;
    	
    	TCommDbConnPref connectPref;
    	connectPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt);
    	connectPref.SetIapId(iSelectedIap);
    	
    	RSocketServ iSocketServ;
    	RConnection iConnection;
        
          iSocketServ.Connect();
          iConnection.Open(iSocketServ);
          iConnection.Start(connectPref);
    }
    but dialog box "select iap" show up (at moment calling function "connect" from libc).

    maybe exist other method for autoselect IAP?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,693

    Re: libc socket and autoselect IAP

    Open C/C++ contains a 'setdefaultif' API starting from version 1.6. Currently its documentation is not integrated into the .chm help, instead it is called Openc_new_api_guide.doc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×