class TConnSnapPref : public TConnPref |
An instance of the class is passed to RConnection::Start when user wants to start connection using a Service Network Access Point. A Service Network Access Point is an access point in the KAfInet tier.
A list of available access points can be retrieved from CommsDat using CCDAccessPointRecord. It is recommended that users only attempt to start access points whose tier is KAfInet. Access points in the KAfInet can use multiple access points on lower tiers to access the internet.
RConnection conn; User::LeaveIfError(conn.Open(sockSvr)); CleanupClosePushL(conn); TCommSnapPref pref(52); TInt error = conn.Start(pref);
CommsDat::CCDAccessPointRecord
TConnAPPref
since v9.1
Public Member Functions | |
---|---|
TConnSnapPref() | |
TConnSnapPref(TUint32) | |
IMPORT_C void | SetSnap(TUint32) |
IMPORT_C TUint32 | Snap() |
Inherited Enumerations | |
---|---|
TConnPref:@360 |
Inherited Attributes | |
---|---|
TBuf8< KMaxConnPrefSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |