<?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: RTCSERR_SOCK_ESHUTDOWN from select()</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSERR-SOCK-ESHUTDOWN-from-select/m-p/485506#M15909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you get this error code it means the stack has already closed the TCB (whatever reason). Most typical is RST received from connected peer, but it can also be a received SYN when a connection is already established.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the TCB does not exists, your software has to closesocket(). It can also open a new connection to the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2015 12:37:04 GMT</pubDate>
    <dc:creator>Martin_</dc:creator>
    <dc:date>2015-12-18T12:37:04Z</dc:date>
    <item>
      <title>RTCSERR_SOCK_ESHUTDOWN from select()</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSERR-SOCK-ESHUTDOWN-from-select/m-p/485505#M15908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i use MQX 4.2, CW 10.6 and frdmk64f.&lt;/P&gt;&lt;P&gt;in my application, i stay in select() function waiting activity on the socket. i created this stream socket and i connect it to a remote server that is always running. sometimes the select() function return a error unexpected: 0x1719. it is unexpected because the server is always running and it not send any closing request. the freedom board is connected on a router that is connected on the network where the server stay.&lt;/P&gt;&lt;P&gt;i read the documentation of RTCS. In the chapter of select() function i see that it is explained that this error is returned from select() when happens "Abort request (remote host sends RST or unexpected SYN to us)".&lt;/P&gt;&lt;P&gt;My question is: what is the cause of this error? what means "unexpected SYN to us"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 16:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSERR-SOCK-ESHUTDOWN-from-select/m-p/485505#M15908</guid>
      <dc:creator>emanueletrapani</dc:creator>
      <dc:date>2015-12-15T16:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: RTCSERR_SOCK_ESHUTDOWN from select()</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSERR-SOCK-ESHUTDOWN-from-select/m-p/485506#M15909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you get this error code it means the stack has already closed the TCB (whatever reason). Most typical is RST received from connected peer, but it can also be a received SYN when a connection is already established.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the TCB does not exists, your software has to closesocket(). It can also open a new connection to the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 12:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSERR-SOCK-ESHUTDOWN-from-select/m-p/485506#M15909</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2015-12-18T12:37:04Z</dc:date>
    </item>
  </channel>
</rss>

