<?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: Socket shutdown</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235387#M6556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Functions &lt;STRONG&gt;RTCSLOG_disable()/_enable()&lt;/STRONG&gt; are used to disable/enable RTCS event logging in the MQX kernel log. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;They have nothing with socket API&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2. You can not call connect(), if the socket is already connected or the socket is closed.&lt;/P&gt;&lt;P&gt;3. It's good to read a "RTCS User Manual"; find a TCP client source code inside RTCS and use it as reference for your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2013 14:23:12 GMT</pubDate>
    <dc:creator>butok</dc:creator>
    <dc:date>2013-01-24T14:23:12Z</dc:date>
    <item>
      <title>Socket shutdown</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235383#M6552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-style: italic; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;HI everybody, I´m having trouble again with the TCP functions. This time I need to restart a tcp connection and then I need to re-established it again. The first that came into my mind was to use the sutdown function. It worked Ok because I lost connection between my application and my PC. My problem is when I try to re-establish the connection, i need to use: RTCS_create(); but I don´t know why it doesn´t responds RTCS_OK, so the connection is never created. I tried restarting my task but the same happened, RTCS_create() returned a value different from zero. for example 1704 and 1300 which I don´t know what do they mean. Thank you very much, best regards.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 00:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235383#M6552</guid>
      <dc:creator>CamiloA_</dc:creator>
      <dc:date>2013-01-24T00:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Socket shutdown</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235384#M6553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on subject “socket shutdown” and message content you are &lt;STRONG&gt;closing TCP socket connection&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;But for some reason, you are trying re-establish connection by &lt;STRONG&gt;RTCS_create()&lt;/STRONG&gt;, that is used for&lt;STRONG&gt; initialization of RTCS&lt;/STRONG&gt; stack and it should be called &lt;STRONG&gt;once&lt;/STRONG&gt;. You should use Socket API instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235384#M6553</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2013-01-24T09:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Socket shutdown</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235385#M6554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey thank you very much for your interest and help, when you say I have to use the Socket API you mean the RTCSLOG_disable() or RTCSLOG_enable()? Does this help to get my connection active again? Sorry for my ignorance in this topic, but I`m new with it and i`m in a rush right now because the deadline of this project is really close. I`m going to read about this to see what I learn. Have a nice day and again thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 14:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235385#M6554</guid>
      <dc:creator>CamiloA_</dc:creator>
      <dc:date>2013-01-24T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Socket shutdown</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235386#M6555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot something that could be important, as you correctly adviced me, I didn´t call the RTCS_create() only once, the only thing that I did was try to connect again with : the connect function:&amp;nbsp;&amp;nbsp; connect(sock, &amp;amp;addr, sizeof(addr)); but the thing is that it doesn´t respond RTCS_OK either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 14:12:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235386#M6555</guid>
      <dc:creator>CamiloA_</dc:creator>
      <dc:date>2013-01-24T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Socket shutdown</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235387#M6556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Functions &lt;STRONG&gt;RTCSLOG_disable()/_enable()&lt;/STRONG&gt; are used to disable/enable RTCS event logging in the MQX kernel log. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;They have nothing with socket API&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2. You can not call connect(), if the socket is already connected or the socket is closed.&lt;/P&gt;&lt;P&gt;3. It's good to read a "RTCS User Manual"; find a TCP client source code inside RTCS and use it as reference for your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 14:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Socket-shutdown/m-p/235387#M6556</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2013-01-24T14:23:12Z</dc:date>
    </item>
  </channel>
</rss>

