<?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: Problem with Telnet server in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264288#M7898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! I just did the modification on Telnet command prompt and it works pretty smooth. &lt;/P&gt;&lt;P&gt;Thanks martin, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2013 20:02:31 GMT</pubDate>
    <dc:creator>amleng</dc:creator>
    <dc:date>2013-07-19T20:02:31Z</dc:date>
    <item>
      <title>Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264282#M7892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to send many small messages (less than 100 bytes) continuously like stream by Telnet protocol. I implemented a Telnet server (based on web_hvac demo). I use windows command prompt to receive the data. I think there is a problem there. I can not get all messages. Some data lost. it gets worst as it's going on. Any thought? any suggestion? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sina &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>Wed, 10 Jul 2013 16:21:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264282#M7892</guid>
      <dc:creator>amleng</dc:creator>
      <dc:date>2013-07-10T16:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264283#M7893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I send 100-byte messages every 35ms. It seems telnet works too slow or maybe buffering problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 18:58:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264283#M7893</guid>
      <dc:creator>amleng</dc:creator>
      <dc:date>2013-07-10T18:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264284#M7894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i use printf() to send data over Telnet. If I increase&amp;nbsp; TELNETDCFG_BUFFER_SIZE&amp;nbsp; to 1024 it gets better for a few first messages and gets slow again! It seems there is a buffer issue! I'm not sure tho.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 20:26:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264284#M7894</guid>
      <dc:creator>amleng</dc:creator>
      <dc:date>2013-07-10T20:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264285#M7895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MQX 4.0, right ? a small change in tcp_send.c adds TCP push flag bit into each outgoing tcp packet. comment out the 4 lines as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13739590786928498" jivemacro_uid="_13739590786928498"&gt;
&lt;P&gt;//if ( ((tcb-&amp;gt;status &amp;amp; TCPS_TPUSH) != 0&amp;nbsp; &amp;amp;&amp;amp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; GE32(tcb-&amp;gt;sndpush, dataseq)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; LE32(tcb-&amp;gt;sndpush,dataseq+sent)) ||&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp; (flags &amp;amp; FIN))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags |= PSH;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; } /* Endif */&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 07:19:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264285#M7895</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-07-16T07:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264286#M7896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I use MQX 4.1. Those changes didn't help. no effect on the timing! Is there any other over head I can eliminate?&amp;nbsp; any ACK/NACK&amp;nbsp; routines? any other functions I can use to send out data over Telnet? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:41:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264286#M7896</guid>
      <dc:creator>amleng</dc:creator>
      <dc:date>2013-07-16T20:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264287#M7897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should attach Wireshark communication log. Windows 7 TCP stack adds 200 ms delay to ACKs, by default. &lt;/P&gt;&lt;P&gt;&lt;A href="http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/9f476410-a7a6-4f5d-b9a9-0a63a2bab121/" title="http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/9f476410-a7a6-4f5d-b9a9-0a63a2bab121/"&gt; TcpAckFrequency and Nagle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently I worked with ethernet_serial demo (it will be in MQX 4.0.2) for transmit side it simply reads characters from UART and sends them in short TCP packets (1 byte of data payload) to a remote peer. By disabling Windows 7 TCP ACK delay I found that RTCS transmits outbound packets very fast. Just the remote application only buffers the incoming data and doesn't display them on time. By adding push flags to the outbound packets the remote application is instructed to flush the incoming buffer frequently. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 06:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264287#M7897</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-07-17T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264288#M7898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! I just did the modification on Telnet command prompt and it works pretty smooth. &lt;/P&gt;&lt;P&gt;Thanks martin, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 20:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264288#M7898</guid>
      <dc:creator>amleng</dc:creator>
      <dc:date>2013-07-19T20:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Telnet server</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264289#M7899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But why did you change it? Is there an acceptable reason? I got errors because of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problem-with-Telnet-server/m-p/264289#M7899</guid>
      <dc:creator>chris-quin</dc:creator>
      <dc:date>2015-10-20T15:19:44Z</dc:date>
    </item>
  </channel>
</rss>

