forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Web request sample

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
me



Joined: 14 Jul 2005
Posts: 4

PostPosted: Mon Jul 18, 2005 9:56 am    Post subject: Web request sample Reply with quote

Hi,

Does anybody have a SIMPLE program that send and receives a http request so it could be added to the SDK samples. Yes, we already have the Weather program but it is confusing and not simple ^_~
It would help many of us to get the basic on how to activate the connexion,send the request and receive it.

Ciao
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Mon Jul 18, 2005 10:18 am    Post subject: Reply with quote

I would think that would have to wait until PSPSDK got proper network support.
Back to top
View user's profile Send private message
me



Joined: 14 Jul 2005
Posts: 4

PostPosted: Mon Jul 18, 2005 11:09 am    Post subject: Reply with quote

Hmmmm,

So what about a NOT SIMPLE one that shows the different steps needed at the moment to do it. So we might be able to help the SDK developers by getting more people knowing how it works and develop on it.
I didnt expect to have a very nice way to do it when posting this topic, just a simple program that does it in order to understand and start building on it.

Ciao
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Mon Jul 18, 2005 11:21 pm    Post subject: Reply with quote

http get/send requests are just simple text commands. You can look at psppet's wifi sample v.02, and work with that. That's your not so simple way of doing it.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
PspPet



Joined: 30 Mar 2005
Posts: 210

PostPosted: Tue Jul 19, 2005 12:54 am    Post subject: Reply with quote

> Does anybody have a SIMPLE program that send and receives a http request so it could be added to the SDK samples.
Not yet AFAIK.

There is an extremely easy to use helper library built into the system (sceHttp)
http://pspdev.ofcode.com/api.php?type=2&id=186

It is built on the network "Infrastructure mode". It does most of the work handling the HTTP requests (text formatting and other special cases). If you are porting a big HTTP net client (like a web browser) it would be more hassle than it is worth.
For simple website data gathering (like the weather app), it will save you a lot of code (and avoid reinventing something the PSP already does)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
me



Joined: 14 Jul 2005
Posts: 4

PostPosted: Tue Jul 19, 2005 7:06 am    Post subject: Reply with quote

Thanks guys, i m going right now to see that and learn from it.

Ciao
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group