| View previous topic :: View next topic |
| Author |
Message |
me

Joined: 14 Jul 2005 Posts: 4
|
Posted: Mon Jul 18, 2005 9:56 am Post subject: Web request sample |
|
|
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 |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Mon Jul 18, 2005 10:18 am Post subject: |
|
|
| I would think that would have to wait until PSPSDK got proper network support. |
|
| Back to top |
|
 |
me

Joined: 14 Jul 2005 Posts: 4
|
Posted: Mon Jul 18, 2005 11:09 am Post subject: |
|
|
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 |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Mon Jul 18, 2005 11:21 pm Post subject: |
|
|
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 |
|
 |
PspPet
Joined: 30 Mar 2005 Posts: 210
|
Posted: Tue Jul 19, 2005 12:54 am Post subject: |
|
|
> 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 |
|
 |
me

Joined: 14 Jul 2005 Posts: 4
|
Posted: Tue Jul 19, 2005 7:06 am Post subject: |
|
|
Thanks guys, i m going right now to see that and learn from it.
Ciao |
|
| Back to top |
|
 |
|