lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Raw TCP HTTP Client


From: Simon Kallweit
Subject: Re: [lwip-devel] Raw TCP HTTP Client
Date: Tue, 20 Jan 2009 08:47:18 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Thanks for all the answers. I was actually looking for a client, yes. Any socket based implementation is no option for me, as the resources are rather limited. We use HTTP mostly in terms of "web services". Our devices for example download firmware updates from HTTP servers, or upload data, query information etc. Doing this via HTTP, simplifies the server architecture a lot, for example load balancing etc. Our former linux based devices used libcurl, which was great. But as already stated, with the new devices we dont have the same amount of free resources (hence, the use of lwIP). Looks like I'm going to write an HTTP client based on the RAW API sooner or later. I just assumed that there is broader interest for this ;)

Best regards
Simon


Frédéric BERNON schrieb:

I forgot to tell that the "addc" project is based on CURL : http://curl.haxx.se/docs/features.html ----- Original Message ----- From: "Frédéric BERNON" <address@hidden>
To: "lwip-devel" <address@hidden>
Sent: Monday, January 19, 2009 10:43 PM
Subject: Re: [lwip-devel] Raw TCP HTTP Client




(In actuality, I'm assuming the goal is to do AJAX-based data transfer or something, not actually implement a browser.)

In my case, I read from a HTTP server a XML document which tell me the URL
for the last firmware version, and I read it from the HTTP server. It's
something like the "windows update".

I just want to read simple things like www.meuip.com.br and retrieve only the IP value ;)

I suppose you aim is perhaps to get a DynDNS client ? If this is the case,
perhaps this link can help you :
http://cvs.savannah.gnu.org/viewvc/addc/addc.c?revision=1.8.2.1&root=addc&view=markup


----- Original Message ----- From: "Alain M." <address@hidden>
To: "lwip-devel" <address@hidden>
Sent: Monday, January 19, 2009 10:19 PM
Subject: Re: [lwip-devel] Raw TCP HTTP Client



Taking a ride... Is there a simple HTTP *Client* for lwip with sockes
interface???

I just want to read simple things like www.meuip.com.br and retrieve
only the IP value ;)

Thanks,
Alain

Pettinato, Jim escreveu:
Thank you for pointing out my error Frédéric... I guess I wasn't expecting anyone to write an lwIP-based browser! Funny thing is, in that thread you reference, I made the same %&*# mistake!!! (In actuality, I'm assuming the goal is to do AJAX-based data transfer or something, not actually implement a browser.)

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Frédéric BERNON
Sent: Monday, January 19, 2009 3:04 PM
To: lwip-devel
Subject: Re: [lwip-devel] Raw TCP HTTP Client


Simon looks for a client, not a server. Take a look to this old thread, there is a sample attached (but I never use it):

http://www.mail-archive.com/address@hidden/msg02155.html

----- Original Message -----
From: "Pettinato, Jim" <address@hidden>
To: "lwip-devel" <address@hidden>
Sent: Monday, January 19, 2009 8:42 PM
Subject: RE: [lwip-devel] Raw TCP HTTP Client




Simon,

There is a sample HTTP server using the RAW API on the Savannah site in
contrib\apps:

http://cvs.savannah.gnu.org/viewvc/contrib/apps/httpserver_raw/?root=lwi
p

FYI... The lwip-users list is probably a better place for this type of
question.

- Jim

__

James M. Pettinato, Jr.
Software Engineer
E: address@hidden | P: 814 898 5250

FMC Technologies Measurement Solutions Inc.
1602 Wagner Avenue | Erie PA | 16510 USA
Phone: 814 898 5000 | Fax: 814 899-3414
www.fmctechnologies.com



-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Simon Kallweit
Sent: Monday, January 19, 2009 5:00 AM
To: lwip-devel
Subject: [lwip-devel] Raw TCP HTTP Client

Hi

Has anyone written a HTTP client using the RAW TCP API? I know that
simple requests can be written "directly", but that's not what I'm
aiming for. I'm more thinking of a simple but reusable client, based on
the same concepts as the RAW API (callbacks), providing simple HTTP
requests (at least GET, POST). Has anyone already written something
along those lines, and is willing to share?

Simon


_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel


_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel




_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel


_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel




_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel





_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel




_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel





reply via email to

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