uIP connect issue
2011-11-02 21:34:33 GMT
Dear all, I hope this mailing list is still active. I am a new uIP user. I am working on a simple application running on ATmega328. The embedded device should made a TCP connection to the server and first send it a communication configuration IP packet. Afterwards the server is continuously sending the packet and the embedded device should be only properly decoding them. Unfortunately everything stopped right at the beginning when I attempt to connect to the server. For debugging the network traffic I am using the Wireshark. Even if the connection is not successful I can still ping the embedded device after the connect attempt. For the reference code I took the microwebserver application (http://en.klinkerstein.m-faq.de/index.php/MicroWebServer), that compiles nicely using the AVRstudio. The webserver is running really well. The connection I attempt to perform as suggested in the manual and in all examples: uip_ipaddr(&VCaddr, 192,168,10,20); conn = uip_connect(&VCaddr, HTONS(5005)); Tracking the activity with Wireshark I noticed that instead of 5 or 6 steps in typical connection sequence there are only 3. And those 3 are very different from what they are supposed to be. I attaching two images showing Wireshark capture for proper and false connection sequence.(Continue reading)
RSS Feed