Hello,
i'm playing with uIP stack on an 8051 like microcontroller (specifically the cypress FX2 usb chip) I was able to port the stack and run it, get ping responses and have the telnetd application working. I'm not currently able to run the webserver example. Here is the description of events (8051 is refered as the host/webserver while the PC/browser is the client):

1) i run the application, setup the connection, open the browser and browse for the main page (index.html) 2) the webserver receive the HTTP GET request for the required page and send the correct header (http_header_200)
3) a tcp acknowledge message is sent back from the client to the host
4) the webserver try to send the http header once again but then stop without doing it.
5) the webclient waits forever for a message that will never arrive.

at this point i'm able to perform a ping and it works, so this meand that tcp and microcontroller are still working. The only problem is related to the webserver. In my opinion on point 4 the webserver doesn't have to send the http header again but the file content instead (index.html), but this doesn't happen and the client waits forever.
Some idea on what's the problem and how to solve it?
Thanks in advance to everybody,
Simone Pedruzzi



Reply via email to