88 <result><p>The socket is explicitly bound to the specific IP address of the |
88 <result><p>The socket is explicitly bound to the specific IP address of the |
89 network interface connection. </p> </result> |
89 network interface connection. </p> </result> |
90 <example><title>Explicit binding example</title> <p>Client A creates a socket |
90 <example><title>Explicit binding example</title> <p>Client A creates a socket |
91 with explicit binding using the specified interface connection. </p> <codeblock id="GUID-8CE9B83F-0091-5230-8F80-C27793E86437" xml:space="preserve">sock1 = RSocket.Open(srv,conn);</codeblock> <p>ESock |
91 with explicit binding using the specified interface connection. </p> <codeblock id="GUID-8CE9B83F-0091-5230-8F80-C27793E86437" xml:space="preserve">sock1 = RSocket.Open(srv,conn);</codeblock> <p>ESock |
92 creates the socket within the default connection and subconnection. </p> <fig id="GUID-BE26EF30-B103-5C3B-95A8-7ED66ECFE44C"> |
92 creates the socket within the default connection and subconnection. </p> <fig id="GUID-BE26EF30-B103-5C3B-95A8-7ED66ECFE44C"> |
93 <image href="GUID-B21A4858-162A-50F1-8F88-4259B7F7238E_d0e144206_href.png" placement="inline"/> |
93 <image href="GUID-B21A4858-162A-50F1-8F88-4259B7F7238E_d0e146455_href.png" placement="inline"/> |
94 </fig> </example> |
94 </fig> </example> |
95 <postreq><p>A socket can also be opened over a sub-connection using <xref href="GUID-0AFDA357-EE44-3788-9CAB-162B874134BF.dita"><apiname>RSubConnection</apiname></xref>. |
95 <postreq><p>A socket can also be opened over a sub-connection using <xref href="GUID-0AFDA357-EE44-3788-9CAB-162B874134BF.dita"><apiname>RSubConnection</apiname></xref>. |
96 When the socket is opened, a new Service Access Point (SAP) is created for |
96 When the socket is opened, a new Service Access Point (SAP) is created for |
97 the socket in <xref href="GUID-BE7D196E-357B-36BE-80BB-CCBBE00DFA90.dita"><apiname>ESock</apiname></xref>. The SAP is used to handle inbound |
97 the socket in <xref href="GUID-BE7D196E-357B-36BE-80BB-CCBBE00DFA90.dita"><apiname>ESock</apiname></xref>. The SAP is used to handle inbound |
98 and outbound data. </p> </postreq> |
98 and outbound data. </p> </postreq> |