Symbian3/SDK/Source/GUID-DBF6760F-D209-4B8F-89D5-A7EFFF7959E2.dita
changeset 8 ae94777fff8f
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-DBF6760F-D209-4B8F-89D5-A7EFFF7959E2" xml:lang="en"><title>Starting
       
    13 the connection through the destination network</title><shortdesc>After you have selected the destination network to be used, you
       
    14 can open the data connection.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    15 <context id="GUID-FEDFCAED-E19D-411A-8A17-7B11C42AB4AE">       <p>To open
       
    16 the data connection with the selected destination network:</p>     </context>
       
    17 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-14-1-1-7-1-6-1-3-2">
       
    18 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-7-1-6-1-3-2-1"><cmd>Start the connection
       
    19 through the Internet destination network using the Connection Manager API.</cmd>
       
    20 </step>
       
    21 <step id="GUID-87BB9B2C-386E-40BC-B5C8-838169A85CDD"><cmd>Select the best available access point within the Internet destination
       
    22 network using the Connection Manager API.</cmd>
       
    23 <info><p>RConnection handle is returned to the network. The connection can
       
    24 now be used.</p></info>
       
    25 </step>
       
    26 </steps>
       
    27 <example><codeblock xml:space="preserve">RSocketServ ss;
       
    28 
       
    29 // Connect to ESOCK
       
    30 ss.Connect();
       
    31 
       
    32 // Open an RConnection object.  Note that you must provide an RSocketServ object
       
    33 RConnection conn;
       
    34 conn.Open( ss );
       
    35 
       
    36 // Create overrides
       
    37 TConnSnapPref prefs
       
    38 prefs.SetSnap( 4 );
       
    39 
       
    40 // Start an Outgoing Connection with overrides
       
    41 conn.Start( prefs );
       
    42 </codeblock></example>
       
    43 </taskbody></task>