Symbian3/SDK/Source/GUID-7FD49142-23DC-44FC-BA7D-C11E0559C8CF.dita
changeset 13 48780e181b38
parent 8 ae94777fff8f
equal deleted inserted replaced
12:80ef3a206772 13:48780e181b38
    13 a Connection to a SNAP by specifying SNAP ID</title><shortdesc>Extended Connection Preferences API can be used by applications
    13 a Connection to a SNAP by specifying SNAP ID</title><shortdesc>Extended Connection Preferences API can be used by applications
    14 to set the SNAP ID prior to establishing a connection.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
    14 to set the SNAP ID prior to establishing a connection.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
    15 <context id="GUID-BC67F7E5-DAC2-4B2D-B9FE-C55CA4DBF845">       <p>Specifying
    15 <context id="GUID-BC67F7E5-DAC2-4B2D-B9FE-C55CA4DBF845">       <p>Specifying
    16 SNAP ID enables the applications to start a connection to a specific SNAP.</p> 
    16 SNAP ID enables the applications to start a connection to a specific SNAP.</p> 
    17   </context>
    17   </context>
    18 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-14-1-1-4-1-1-5-1-1-4-1-3-2">
    18 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-16-1-1-4-1-1-5-1-1-4-1-3-2">
    19 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-4-1-1-5-1-1-4-1-3-2-1"><cmd>Connect to <xref href="GUID-1277D793-4A0A-50A7-9414-AEE93E906E80.dita"> socket server </xref>.</cmd>
    19 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-16-1-1-4-1-1-5-1-1-4-1-3-2-1"><cmd>Connect to <xref href="GUID-1277D793-4A0A-50A7-9414-AEE93E906E80.dita"> socket server </xref>.</cmd>
    20 <info> <codeblock xml:space="preserve">RSocketServ ss;
    20 <info> <codeblock xml:space="preserve">RSocketServ ss;
    21 ss.Connect();       </codeblock>                  </info>
    21 ss.Connect();       </codeblock>                  </info>
    22 </step>
    22 </step>
    23 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-4-1-1-5-1-1-4-1-3-2-2"><cmd> Open a <xref href="GUID-BD8446C5-3ADE-59A6-A13A-A5482D6FC56F.dita"> RConnection </xref> object.</cmd>
    23 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-16-1-1-4-1-1-5-1-1-4-1-3-2-2"><cmd> Open a <xref href="GUID-BD8446C5-3ADE-59A6-A13A-A5482D6FC56F.dita"> RConnection </xref> object.</cmd>
    24 <info> <codeblock xml:space="preserve">RConnection conn;
    24 <info> <codeblock xml:space="preserve">RConnection conn;
    25 conn.Open( ss );</codeblock>                 </info>
    25 conn.Open( ss );</codeblock>                 </info>
    26 </step>
    26 </step>
    27 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-14-1-1-4-1-1-5-1-1-4-1-3-2-3"><cmd>Create a connection
    27 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-10-1-16-1-1-4-1-1-5-1-1-4-1-3-2-3"><cmd>Create a connection
    28 preference list and extended connection preferences object.</cmd>
    28 preference list and extended connection preferences object.</cmd>
    29 <info> <codeblock xml:space="preserve">TConnPrefList prefList;
    29 <info> <codeblock xml:space="preserve">TConnPrefList prefList;
    30 TExtendedConnPref preferences;    </codeblock>                  </info>
    30 TExtendedConnPref preferences;    </codeblock>                  </info>
    31 </step>
    31 </step>
    32 <step id="GUID-0638ECC7-4D10-48EB-A0E3-45225761DDD4"><cmd>Set the SNAP ID
    32 <step id="GUID-0638ECC7-4D10-48EB-A0E3-45225761DDD4"><cmd>Set the SNAP ID