<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LEDSwitch Client did not work correctly</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23469/ledswitch-client-did-not-work-correctly</link><description> 
the example LEDSwitch Client for MCB2300 did not work correctly in
my MCB2378 board.it can be ping,but i can not connect to it by
TCPServer. 

 
switch (protocol) {
 case TCP:
 socket_tcp = tcp_get_socket (TCP_TYPE_CLIENT, 0, 10, tcp_callback);
 if</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LEDSwitch Client did not work correctly</title><link>https://community.arm.com/thread/49987?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2008 22:25:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce0b4fbf-f7a1-4eb4-9f70-58c581faa890</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Please check your LAN settings. The LEDswitch client/server
examples are configured to Static IP in class C with network address:
192.168.0&lt;/p&gt;

&lt;p&gt;
If your network address is different, LEDswitch examples will not
work because the packets will be routed out of your local LAN to
internet.&lt;/p&gt;

&lt;p&gt;
Franc&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LEDSwitch Client did not work correctly</title><link>https://community.arm.com/thread/114004?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2008 07:02:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:de34f107-5bed-4ebd-b301-79f42e373d72</guid><dc:creator>Emil Jelev</dc:creator><description>&lt;p&gt;&lt;p&gt;
uncheck &amp;quot;Use Cross-Module Optimization&amp;quot; box from options of
project&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LEDSwitch Client did not work correctly</title><link>https://community.arm.com/thread/100726?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2008 00:55:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:937885c6-4634-4fae-8875-4e21f3cc919d</guid><dc:creator>Catcus Blip</dc:creator><description>&lt;p&gt;&lt;p&gt;
I think that the demo code is correct.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LEDSwitch Client did not work correctly</title><link>https://community.arm.com/thread/76359?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2008 00:53:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0d3e90b0-1249-4ae5-81f4-e1b78639034e</guid><dc:creator>andycruse lmt</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks your reply.&lt;br /&gt;
Maybe it is a problem of firewall or Server AP.&lt;br /&gt;
Could you tell me the demo code (LEDClient) is correct ?&lt;br /&gt;
If the code is correct , I just only check my PC side.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LEDSwitch Client did not work correctly</title><link>https://community.arm.com/thread/49985?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2008 10:06:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9638ec0e-54b1-46d8-956a-8ed6e2b3a75f</guid><dc:creator>Catcus Blip</dc:creator><description>&lt;p&gt;&lt;p&gt;
do you remember how a TCP/IP connection is built?&lt;/p&gt;

&lt;p&gt;
1. server sends SYN&lt;br /&gt;
2. client returns ACK + SYN&lt;br /&gt;
3. server replies by ACK&lt;br /&gt;
4. connection established.&lt;/p&gt;

&lt;p&gt;
assuming the PC is the takes the initiative, you seem to be stuck
at stage 3 - your server never replied with an ACK. Did you try to
monitor the connection with a TCP sniffer?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>