<?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: RTCSCFG_TCP_MAX_HALF_OPEN and RTCSCFG_TCP_MAX_CONNECTIONS setting in mqx4.1? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602367#M16698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me some suggestion for the cpu K64F120M about the two definition values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike-WuLin Weng&lt;/P&gt;&lt;P&gt;ABB Xiamen Low Voltage Equipment Company Limited&lt;/P&gt;&lt;P&gt;No.12-20, 3rd Chuang Xin Road Xiamen SEZ, Fujian 361006 P.R.China&lt;/P&gt;&lt;P&gt;Phone: +86 592 5767829&lt;/P&gt;&lt;P&gt;Mobile: +86 181 5089 0831&lt;/P&gt;&lt;P&gt;email: mike-wulin.weng@cn.abb.com&amp;lt;mailto:mike-wulin.weng@cn.abb.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2016 01:05:11 GMT</pubDate>
    <dc:creator>wulinweng</dc:creator>
    <dc:date>2016-11-04T01:05:11Z</dc:date>
    <item>
      <title>RTCSCFG_TCP_MAX_HALF_OPEN and RTCSCFG_TCP_MAX_CONNECTIONS setting in mqx4.1?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602365#M16696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Support:&lt;/P&gt;&lt;P&gt;how can I set the RTCSCFG_TCP_MAX_CONNECTIONS and RTCSCFG_TCP_MAX_HALF_OPEN in MQX4.1 for our project if I want to use them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602365#M16696</guid>
      <dc:creator>wulinweng</dc:creator>
      <dc:date>2016-10-26T08:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: RTCSCFG_TCP_MAX_HALF_OPEN and RTCSCFG_TCP_MAX_CONNECTIONS setting in mqx4.1?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602366#M16697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Wulin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put these macro definition in user_config.h or rtcs_user_config.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the TCP level, the default RTCS setting is to allow unlimited TCP connections (RTCSCFG_TCP_MAX_CONNECTIONS = 0) ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If RTCSCFG_TCP_MAX_HALF_OPEN is set to non-zero positive value, RTCS tries to monitor the half open connections and it drops older half open connections if a new connection request is received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At application level, http server, ftpd server or telneted server may give additional limits for connected clients.&lt;/P&gt;&lt;P&gt;For example to allow multiple clients for http server, when a client connects to the server, the server task creates a child task to handle communication with the accepted socket, so a memory for the child task's stack is needed. There is one child task for each connected client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Ethernet level, the low driver has to have resource to handle each active socket--like PCB, memory blocks for socket. memory pools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no exact value you need to set ,it depends your system. If you have a system with large memory, you can allow multiple clients.&lt;/P&gt;&lt;P&gt;I would recommend to debug with TAD. There you can see how much memory is left after RTCS_create, after socket init, application layer init, like httsrv start, after a connection from client is accepted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 06:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602366#M16697</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-10-27T06:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: RTCSCFG_TCP_MAX_HALF_OPEN and RTCSCFG_TCP_MAX_CONNECTIONS setting in mqx4.1?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602367#M16698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me some suggestion for the cpu K64F120M about the two definition values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike-WuLin Weng&lt;/P&gt;&lt;P&gt;ABB Xiamen Low Voltage Equipment Company Limited&lt;/P&gt;&lt;P&gt;No.12-20, 3rd Chuang Xin Road Xiamen SEZ, Fujian 361006 P.R.China&lt;/P&gt;&lt;P&gt;Phone: +86 592 5767829&lt;/P&gt;&lt;P&gt;Mobile: +86 181 5089 0831&lt;/P&gt;&lt;P&gt;email: mike-wulin.weng@cn.abb.com&amp;lt;mailto:mike-wulin.weng@cn.abb.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 01:05:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602367#M16698</guid>
      <dc:creator>wulinweng</dc:creator>
      <dc:date>2016-11-04T01:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: RTCSCFG_TCP_MAX_HALF_OPEN and RTCSCFG_TCP_MAX_CONNECTIONS setting in mqx4.1?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602368#M16699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For K64F120M, if there is no special requirement, I would recommend to use the default value.&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>Wed, 16 Nov 2016 06:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/RTCSCFG-TCP-MAX-HALF-OPEN-and-RTCSCFG-TCP-MAX-CONNECTIONS/m-p/602368#M16699</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-11-16T06:36:47Z</dc:date>
    </item>
  </channel>
</rss>

