Welcome! Log In Create A New Profile

Advanced

HTTP library?

Posted by AerialX 
HTTP library?
December 09, 2008 10:39PM
Does anyone know of a ported HTTP library for libogc? I tried getting libcurl working today but got annoyed by the fact that net_select() is unimplemented, which seems to make the library always claim that it gets an "Empty reply from server."

Has anyone been doing work with HTTP, and knows of a library that works? If not, at least some suggestions for a good, stable C/C++ HTTP library would be helpful (and hopefully something that doesn't rely on select() :P)

Thanks,
- Aaron
Re: HTTP library?
December 09, 2008 10:46PM
Check PatchMii... that's got some HTTP stuff (http.c and http.h :-))
Re: HTTP library?
December 10, 2008 01:01AM
Thanks, that works out well enough; I don't need much more than the quick retrieval of an XML file and some random binaries. Now, is it worth going GPL over though? :P
Re: HTTP library?
December 10, 2008 08:21AM
I was looking into this too as I want to make an RSS reader, and I was reading over Teknecal's netsend example over on the Homebrew Browser page. That might be enough for what you need.

[wiibrew.org]
Re: HTTP library?
December 10, 2008 11:09AM
If you don't want to go GPL, is should at least give you an idea how to code one yourself :-)

Here's the protocol for HTTP 1.1
[www.w3.org]

Request side: [www.w3.org]
Responses: [www.w3.org] (Basically, 200 = OK, the rest = Bad)
Re: HTTP library?
December 14, 2008 07:49PM
Hi,

See also the Pong2, BibleQuiz and RedSquare. These games contain an improved http library with is running in a separate thread and support google analytic http request without JavaScript support. With this google analytic http request you really can track who is downloading and playing you application.

[wp.plaatsoft.nl]

wplaat



Edited 3 time(s). Last edit at 01/14/2009 09:21PM by wplaat.
Sorry, only registered users may post in this forum.

Click here to login