If there is no connection specified in the connection setup and no default connection has been defined, your application can prompt the user to select the connection.
RSocketServ ss;
// Connect to ESOCK
ss.Connect();
// Open an RConnection object. Note that you must provide an RSocketServ object
RConnection conn;
conn.Open( ss );
// Create overrides
TCommDbConnPref prefs;
prefs.SetDialogPreference( ECommDbDialogPrefPrompt );
// Start an Outgoing Connection with overrides
conn.Start( prefs );
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.