lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] problem with httpserver_raw example from contribb


From: goldsimon
Subject: Re: [lwip-users] problem with httpserver_raw example from contribb
Date: Tue, 28 Aug 2012 17:53:54 +0200
User-agent: GMX Mail for Android

The fact that DHCP and a simple UDP connection work does not mean everything works. I'm assuming either TCP does not yet work for you or the COPY flag passed from the httpd to tcp_write is missing. Maybe you should try to implementation a simple TCP connection first, but be sure to try to send a big data buffer, too.

Simon




Sergio Martins <address@hidden> schrieb:
Hello all,

I'm having some problems with the http server that is included in the
"contrib" package and would like to know if there is some issue i should
be taking notice of and am not.

I'm using lwip-1.4.0 and using the "httpserver_raw" example from
contrib-1.4.0
Most of the features are working (i have DHCP getting an IP address and
a UDP socket receiving and transmitting data) so i'm pretty sure there
is no issue in the low level part.
I've been using the EXTREMLY helpfull debug to follow the rabbit down
the hole and i know that when i get to tcp_write() the data pointer has
the correct data (the html reply), and when i check at the other end in
low_level_transmit() the data is all garbled up and that is what is sent
through the network (checked with wireshark).

Any suggestions?

Greetings,
Sergio Martins



lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]