Hi.
I do following steps to implement sending/receiving data via TCP in my application:
1) Get list of availiable IAPs via CApSelect
2) Trying to send test message to server using each iap in select
3) If sending test message is successfull it means that this IAP is working and can be used to sending data
4) With this simple functionality I get list of working IAPs.
So, the main feature of this functionality is that user is not asked to choose particular IAP to use by application.
I use standart code pattern to set IAP id:
TCommDbConnPref prefs;
prefs.SetDialogPreference(ECommDbDialogPrefDoNotPrompt);
prefs.SetIapId(aIapId);
prefs.SetDirection(ECommDbConnectionDirectionOutgoing);
prefs.SetBearerSet(ECommDbBearerGPRS);
iRConn.Start(prefs,iStatus);
SetActive();
Anyway, it works fine in Series60 3rd edition, but in 2nd edition RConnection::Start ends with error and "Select IAP Dialog" is displayed. This problem appears only with several IAP id's from CApSelect list.
So how can I handle this?





