gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > retrieve a txt from http

#127948 - Lotti - Sun May 06, 2007 10:20 pm

do you have some tutorial or any idea to do that? i don't know the http protocol and i know a little sockets :\
_________________
http://lottisden.blogspot.com/

#127957 - mml - Sun May 06, 2007 11:27 pm

HTTP1.1 is documented in RFC 2616. I don't know if you've ever written something to an RFC spec before, but it's a good skill to learn. You'd want to brush up on sockets first, though; if you're trying to learn to read and implement an RFC, you want your socket code to just_work. ;)

As to the current state of TCP/IP on the DS, I'll leave that to someone who's been here more than a week to comment on, because I've got no idea.

#127999 - argus - Mon May 07, 2007 1:58 pm

Look up libhttp for DS - it does what you want to do. I don't have the link saved, but it should be easy to find.