diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-D0FEE812-AD80-40D8-B902-05EC16C44C42.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-D0FEE812-AD80-40D8-B902-05EC16C44C42.dita Fri Jun 11 12:39:03 2010 +0100 @@ -0,0 +1,50 @@ + + + + + +Opening +a Connection to an IAPExtended Connection Preferences API can be used by applications +to set the preferred Internet Access Point (IAP) prior to establishing a connection. +

Specifying +IAP ID enables the applications to start a connection to a specific IAP. The +application acquires a connection to the requested IAP, regardless of the +existing connections.

+ +Connect to socket server . + RSocketServ ss; +ss.Connect(); + + Open a RConnection object. + RConnection conn; +conn.Open( ss ); + +Create a connection +preference list and extended connection preferences object. + TConnPrefList prefList; +TExtendedConnPref preferences; + +Define the IAP using TExtendedConnPref::SetIapId(). +preferences.SetIapId( 8 ); + +Append extended +connection preferences into connection preference list. +prefList.AppendL( &preferences ); + +Start a connection +with connection preferences. +conn.Start( prefList ); + + +

The application +is connected to the specified IAP.

+
+Additional +Connection Preferences +
\ No newline at end of file