<?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: Trouble After Closing A Socket</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520766#M16380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; I can try asking the WolfSSL company, but I hope I don't get caught between their blaming MQX, and NXP/MQX blaming WolfSSL!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2016 20:50:22 GMT</pubDate>
    <dc:creator>kackle123</dc:creator>
    <dc:date>2016-06-28T20:50:22Z</dc:date>
    <item>
      <title>Trouble After Closing A Socket</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520764#M16378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I took the HTTP/web server example of MQX 4.2.2 and added wolfSSL-based, encrypted email to it (multitasking).&amp;nbsp; However, when the code closes the email socket after sending the SMTP QUIT command, the web server stops functioning, even though the TAD shows no obvious problems.&amp;nbsp; The bottom of the code looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ret1 = wolfSSL_shutdown(ssl);&lt;/P&gt;&lt;P&gt;wolfSSL_free(ssl);&lt;/P&gt;&lt;P&gt;wolfSSL_CTX_free(ctx);&lt;/P&gt;&lt;P&gt;ret2 = wolfSSL_Cleanup();&lt;/P&gt;&lt;P&gt;ret3 = shutdown(socketNumber, FLAG_CLOSE_TX);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it all returns okay:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ret1 = 2, acceptable according to wolfSSL code comment.&lt;/P&gt;&lt;P&gt;ret2 = 1&lt;/P&gt;&lt;P&gt;ret3 = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestions.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:14:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520764#M16378</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2016-06-14T21:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble After Closing A Socket</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520765#M16379</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;SSL is supported by MQX but provided by our third party partner wolfSSL. You may look at third party options WolfSSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find information on links below&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.wolfssl.com/wolfSSL/Home.html" title="https://www.wolfssl.com/wolfSSL/Home.html"&gt;https://www.wolfssl.com/wolfSSL/Home.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.wolfssl.com/forums/" title="https://www.wolfssl.com/forums/"&gt;https://www.wolfssl.com/forums/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 02:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520765#M16379</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-06-21T02:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble After Closing A Socket</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520766#M16380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; I can try asking the WolfSSL company, but I hope I don't get caught between their blaming MQX, and NXP/MQX blaming WolfSSL!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 20:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Trouble-After-Closing-A-Socket/m-p/520766#M16380</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2016-06-28T20:50:22Z</dc:date>
    </item>
  </channel>
</rss>

