<?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>topic Re: error = listen(listensock[0], 0); in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252240#M7291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; &lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;Swapnil&lt;/SPAN&gt; Karte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;I am surprised, but the &lt;STRONG&gt;“backlog” parameter&lt;/STRONG&gt; of listen(s, backlog) &lt;STRONG&gt;is not implemented and ignored&lt;/STRONG&gt; by RTCS.&amp;nbsp; It is proved by source code and documentation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;So you cannot directly control number of pending connections. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;I will make proposal to add the missing implementation to RTCS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;Andrey Butok&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 08:10:48 GMT</pubDate>
    <dc:creator>butok</dc:creator>
    <dc:date>2013-02-08T08:10:48Z</dc:date>
    <item>
      <title>error = listen(listensock[0], 0);</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252239#M7290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i have successfully created the server code where i created a socket on the port and put it on listen mode. If any connection comes on this port the a new child socket with same properties is created and connection is establish. but i don't want this socket to connect with child socket, i.e. it should connect to parent socket and should not create a child socket for it. as in my code i have such 13 port and socket, so the memory usages goes to the limit and the code stops working or after connecting +5 ports other ports cannot make any connection and no data txrx is possible in this ports. Please help me understand and solve this problem. Regards, Swapnil K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 06:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252239#M7290</guid>
      <dc:creator>Swapnil_Enable</dc:creator>
      <dc:date>2013-02-08T06:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: error = listen(listensock[0], 0);</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252240#M7291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; &lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;Swapnil&lt;/SPAN&gt; Karte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;I am surprised, but the &lt;STRONG&gt;“backlog” parameter&lt;/STRONG&gt; of listen(s, backlog) &lt;STRONG&gt;is not implemented and ignored&lt;/STRONG&gt; by RTCS.&amp;nbsp; It is proved by source code and documentation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;So you cannot directly control number of pending connections. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;I will make proposal to add the missing implementation to RTCS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; background-color: white;"&gt;Andrey Butok&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 08:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252240#M7291</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2013-02-08T08:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: error = listen(listensock[0], 0);</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252241#M7292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey, Sorry but i am not able to follow what you wanna convey. according to the MQXRTSCUG.pdf "Freescale MQX™ RTCS™ User’s Guide, Rev. 8" page 211. Not any more information is given for “backlog” parameter of Listen. i referred example of pg 108. there also the parameter is kept 0. So according to ur proposal the RTCS is incomplete stack, which i should make in observation to my FAE to take care of it? or my code is incomplete? Please elaborate more on this. Regards, Swapnil K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 09:54:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252241#M7292</guid>
      <dc:creator>Swapnil_Enable</dc:creator>
      <dc:date>2013-02-08T09:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: error = listen(listensock[0], 0);</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252242#M7293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="RTCSUG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119088i135950CDBC318AD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="RTCSUG.jpg" alt="RTCSUG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Based on the RTCS documentation Rev.10, page 221, &lt;STRONG&gt;Chapter 7.1.105 Listen(),&lt;/STRONG&gt; the parameter&lt;STRONG&gt; backlog [in] — Ignored.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So this is the documented feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 10:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252242#M7293</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2013-02-08T10:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: error = listen(listensock[0], 0);</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252243#M7294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andery i feel this listen() is solly written for the HTTPD stack inside the RTCS_library. so it is possible to make a http_webserver where we need one port(80) and a possible of around 40 sockets can be open on it. which indeed is quite a good number for an Embedded Server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 10:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/error-listen-listensock-0-0/m-p/252243#M7294</guid>
      <dc:creator>Swapnil_Enable</dc:creator>
      <dc:date>2013-02-08T10:46:34Z</dc:date>
    </item>
  </channel>
</rss>

