<?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: setting of RTCS option not working in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254075#M7446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I forgot to mention. I did the setting up before binding as stated in the manual. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2013 10:17:29 GMT</pubDate>
    <dc:creator>vines</dc:creator>
    <dc:date>2013-07-04T10:17:29Z</dc:date>
    <item>
      <title>setting of RTCS option not working</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254074#M7445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question in setting the value for OPT_RETRANSMISSION_TIMEOUT. It seems to be not working in actual testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a snippet of what I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;opt_value = 500;&lt;/P&gt;&lt;P&gt;error = setsockopt(gSock, SOL_TCP, OPT_RETRANSMISSION_TIMEOUT, &amp;amp;opt_value,sizeof(opt_value));&lt;/P&gt;&lt;P&gt;if (error != RTCS_OK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os_task_block();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;opt_value = 0;&lt;/P&gt;&lt;P&gt;error = getsockopt(gSock, SOL_TCP, OPT_RETRANSMISSION_TIMEOUT, &amp;amp;opt_value,&amp;amp;opt_length);&lt;/P&gt;&lt;P&gt;if (error != RTCS_OK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os_task_block();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I get the value, it did show 500ms. However during actual testing, the retransmission of packet is still not the desired value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During actual testing retransmission happens whenever client doesn't ack the data on the network layer. I am doing this purposely to see how long will be the retransmission. On the RTCS manual , it states there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After a connection is established, RTCS determines the retransmission timeout, starting from this initial value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if the RTCS stack automatically re-adjust this value before sending?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 10:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254074#M7445</guid>
      <dc:creator>vines</dc:creator>
      <dc:date>2013-07-04T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: setting of RTCS option not working</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254075#M7446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I forgot to mention. I did the setting up before binding as stated in the manual. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 10:17:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254075#M7446</guid>
      <dc:creator>vines</dc:creator>
      <dc:date>2013-07-04T10:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: setting of RTCS option not working</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254076#M7447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This socket option is only initial value for RTO which is then changed by RTCS according to measured RTT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a global variable for the stack: _TCP_rto_min, that defines the minimum RTO. By default it is 15 ms and it can be changed by the application. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 13:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/setting-of-RTCS-option-not-working/m-p/254076#M7447</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-12-06T13:23:56Z</dc:date>
    </item>
  </channel>
</rss>

