#include <connpref.h>
Link against: esock.lib
class TConnSnapPref : public TConnPref, public TConnPref |
Public Member Functions | |
---|---|
TConnSnapPref() | |
TConnSnapPref(TUint32) | |
IMPORT_C void | SetSnap(TUint32) |
IMPORT_C TUint32 | Snap() |
Inherited Attributes | |
---|---|
TBuf8< KMaxConnPrefSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
Inherited Enumerations | |
---|---|
TConnPref:@284 | |
TConnPref:@8 |
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);
See also: CommsDat::CCDAccessPointRecord RConnection::Start TConnAPPref
since v9.1