<?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のトピックSOL_TCP OPT_CONNECT_TIMEOUT inconsistent</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/SOL-TCP-OPT-CONNECT-TIMEOUT-inconsistent/m-p/335116#M10790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think either the implementation or documentation of OPT_CONNECT_TIMEOUT is wrong:&lt;/P&gt;&lt;P&gt;The implementation and usage of OPT_CONNECT_TIMEOUT is a timeout during calls to connect(). Typical values (e.g. FTP-Server) are 5000ms.&lt;/P&gt;&lt;P&gt;The documentation (Freescale MQX™ RTOS RTCS™ User’s Guide, Rev. 16, page 282) mentions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect Timeout:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option name OPT_CONNECT_TIMEOUT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Protocol level SOL_TCP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Values &amp;gt;= 180,000 (RTCS maintains the connection for this number of&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; milliseconds).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default value 480,000 (eight minutes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which sounds like a connection inactivity timeout, because 3 minutes minimum timeout for a call to connect is way too high.&lt;/P&gt;&lt;P&gt;Can anyone please clarify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Johannes Schock&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 09:25:10 GMT</pubDate>
    <dc:creator>johannesschock</dc:creator>
    <dc:date>2015-01-30T09:25:10Z</dc:date>
    <item>
      <title>SOL_TCP OPT_CONNECT_TIMEOUT inconsistent</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SOL-TCP-OPT-CONNECT-TIMEOUT-inconsistent/m-p/335116#M10790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think either the implementation or documentation of OPT_CONNECT_TIMEOUT is wrong:&lt;/P&gt;&lt;P&gt;The implementation and usage of OPT_CONNECT_TIMEOUT is a timeout during calls to connect(). Typical values (e.g. FTP-Server) are 5000ms.&lt;/P&gt;&lt;P&gt;The documentation (Freescale MQX™ RTOS RTCS™ User’s Guide, Rev. 16, page 282) mentions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect Timeout:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option name OPT_CONNECT_TIMEOUT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Protocol level SOL_TCP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Values &amp;gt;= 180,000 (RTCS maintains the connection for this number of&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; milliseconds).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default value 480,000 (eight minutes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which sounds like a connection inactivity timeout, because 3 minutes minimum timeout for a call to connect is way too high.&lt;/P&gt;&lt;P&gt;Can anyone please clarify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Johannes Schock&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 09:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SOL-TCP-OPT-CONNECT-TIMEOUT-inconsistent/m-p/335116#M10790</guid>
      <dc:creator>johannesschock</dc:creator>
      <dc:date>2015-01-30T09:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: SOL_TCP OPT_CONNECT_TIMEOUT inconsistent</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SOL-TCP-OPT-CONNECT-TIMEOUT-inconsistent/m-p/335117#M10791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right.&lt;/P&gt;&lt;P&gt;In fact, OPT_CONNECT_TIMEOUT is timeout for waiting on acknowledge. It means that this timeout is applied in both cases – for connect request and also for session inactivity.&lt;/P&gt;&lt;P&gt;We agree that eight minutes is really long time (based on RFC recommendation). You can change it, but 3 minutes is currently minimum time.&lt;/P&gt;&lt;P&gt;From next version of RTCS (MQX4.2, probably April 2015), default values of this timeout will be decreased to 3 minutes and limitation for minimum value will be removed (you will be able change it to for example 10 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;RadekS&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>Fri, 30 Jan 2015 13:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SOL-TCP-OPT-CONNECT-TIMEOUT-inconsistent/m-p/335117#M10791</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2015-01-30T13:19:10Z</dc:date>
    </item>
  </channel>
</rss>

