This page was last modified 22:31, 7 July 2008.
How to get IAP ID of a connection
From Forum Nokia Wiki
The code sample below illustrates how to get the IAP ID used by a connection.
_LIT(KIapIdSettingName, "IAP\\id"); // start a test connection RSocketServ socketServ; User::LeaveIfError(socketServ.Connect()); CleanupClosePushL(socketServ); RConnection connection; User::LeaveIfError(connection.Open(socketServ)); CleanupClosePushL(connection); User::LeaveIfError(connection.Start()); // get the IAP ID TUint32 iapId; User::LeaveIfError(connection.GetIntSetting(KIapIdSettingName, iapId)); CleanupStack::PopAndDestroy(2); // connection, socketServ
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDP Connection | fuhrer | General Symbian C++ | 2 | 2007-10-09 09:20 |
| Problems with CStoreableOverrideSettings, any suggests ? | amec | Symbian Networking & Messaging | 1 | 2002-12-05 05:42 |
| Help! Is it possible to use GPRS and WLAN at the same time? | LIONYCQ | Symbian Networking & Messaging | 9 | 2007-10-31 15:35 |
| 如何去掉网络连接选项的提示,并使用指定的连接? | czaoth | Symbian | 4 | 2005-12-09 07:22 |
| Using the N95 as an ad-hoc IAP | baaba | Wired and Wireless interfaces | 8 | 2007-12-12 23:46 |
