Symbian3/SDK/Source/GUID-D0FEE812-AD80-40D8-B902-05EC16C44C42.dita
changeset 13 48780e181b38
parent 8 ae94777fff8f
equal deleted inserted replaced
12:80ef3a206772 13:48780e181b38
    14 to set the preferred Internet Access Point (IAP) prior to establishing a connection.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
    14 to set the preferred Internet Access Point (IAP) prior to establishing a connection.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
    15 <context id="GUID-707C9659-1FAE-418E-88D7-1E62C0D7A7E1">       <p>Specifying
    15 <context id="GUID-707C9659-1FAE-418E-88D7-1E62C0D7A7E1">       <p>Specifying
    16 IAP ID enables the applications to start a connection to a specific IAP. The
    16 IAP ID enables the applications to start a connection to a specific IAP. The
    17 application acquires a connection to the requested IAP, regardless of the
    17 application acquires a connection to the requested IAP, regardless of the
    18 existing connections.</p> </context>
    18 existing connections.</p> </context>
    19 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-14-1-1-4-1-1-5-1-1-5-1-3-2">
    19 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-16-1-1-4-1-1-5-1-1-5-1-3-2">
    20 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-4-1-1-5-1-1-5-1-3-2-1"><cmd>Connect to<xref href="GUID-1277D793-4A0A-50A7-9414-AEE93E906E80.dita"> socket server </xref>.</cmd>
    20 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-16-1-1-4-1-1-5-1-1-5-1-3-2-1"><cmd>Connect to<xref href="GUID-1277D793-4A0A-50A7-9414-AEE93E906E80.dita"> socket server </xref>.</cmd>
    21 <info> <codeblock xml:space="preserve">RSocketServ ss;
    21 <info> <codeblock xml:space="preserve">RSocketServ ss;
    22 ss.Connect();       </codeblock>                 </info>
    22 ss.Connect();       </codeblock>                 </info>
    23 </step>
    23 </step>
    24 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-4-1-1-5-1-1-5-1-3-2-2"><cmd> Open a <xref href="GUID-BD8446C5-3ADE-59A6-A13A-A5482D6FC56F.dita"> RConnection </xref> object.</cmd>
    24 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-16-1-1-4-1-1-5-1-1-5-1-3-2-2"><cmd> Open a <xref href="GUID-BD8446C5-3ADE-59A6-A13A-A5482D6FC56F.dita"> RConnection </xref> object.</cmd>
    25 <info> <codeblock xml:space="preserve">RConnection conn;
    25 <info> <codeblock xml:space="preserve">RConnection conn;
    26 conn.Open( ss );</codeblock>                  </info>
    26 conn.Open( ss );</codeblock>                  </info>
    27 </step>
    27 </step>
    28 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-4-1-1-5-1-1-5-1-3-2-3"><cmd>Create a connection
    28 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-16-1-1-4-1-1-5-1-1-5-1-3-2-3"><cmd>Create a connection
    29 preference list and extended connection preferences object.</cmd>
    29 preference list and extended connection preferences object.</cmd>
    30 <info> <codeblock xml:space="preserve">TConnPrefList prefList;
    30 <info> <codeblock xml:space="preserve">TConnPrefList prefList;
    31 TExtendedConnPref preferences;   </codeblock>                  </info>
    31 TExtendedConnPref preferences;   </codeblock>                  </info>
    32 </step>
    32 </step>
    33 <step id="GUID-A2DF22F2-7FB2-43EE-9DC6-A87BFB47B23F"><cmd>Define the IAP using <xref href="GUID-B78E8AC0-CDC8-3DEC-AF3C-98C8994DA34A.dita#GUID-B78E8AC0-CDC8-3DEC-AF3C-98C8994DA34A/GUID-D81D45EE-CA3C-3CB1-83EE-2EA313807AF4"><apiname>TExtendedConnPref::SetIapId()</apiname></xref>. </cmd>
    33 <step id="GUID-A2DF22F2-7FB2-43EE-9DC6-A87BFB47B23F"><cmd>Define the IAP using <xref href="GUID-B78E8AC0-CDC8-3DEC-AF3C-98C8994DA34A.dita#GUID-B78E8AC0-CDC8-3DEC-AF3C-98C8994DA34A/GUID-D81D45EE-CA3C-3CB1-83EE-2EA313807AF4"><apiname>TExtendedConnPref::SetIapId()</apiname></xref>. </cmd>