<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックRe: Is bind() mandatory for a stream TCP connection?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Is-bind-mandatory-for-a-stream-TCP-connection/m-p/277702#M8651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you need add a bind() before connect to assign the port number, address and protocol &lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt;the socket use , so that the socket could receive the other end's reply.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2013 12:00:35 GMT</pubDate>
    <dc:creator>susansu</dc:creator>
    <dc:date>2013-11-14T12:00:35Z</dc:date>
    <item>
      <title>Is bind() mandatory for a stream TCP connection?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Is-bind-mandatory-for-a-stream-TCP-connection/m-p/277701#M8650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send a TCP frame with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;socket()&lt;/LI&gt;&lt;LI&gt;connect()&lt;/LI&gt;&lt;LI&gt;send()&lt;/LI&gt;&lt;LI&gt;shutdown()&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this path OK, or is it needed to add a bind() between socket and connect ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:56:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Is-bind-mandatory-for-a-stream-TCP-connection/m-p/277701#M8650</guid>
      <dc:creator>lucky06200</dc:creator>
      <dc:date>2013-11-14T11:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is bind() mandatory for a stream TCP connection?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Is-bind-mandatory-for-a-stream-TCP-connection/m-p/277702#M8651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you need add a bind() before connect to assign the port number, address and protocol &lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt;the socket use , so that the socket could receive the other end's reply.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 12:00:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Is-bind-mandatory-for-a-stream-TCP-connection/m-p/277702#M8651</guid>
      <dc:creator>susansu</dc:creator>
      <dc:date>2013-11-14T12:00:35Z</dc:date>
    </item>
  </channel>
</rss>

