| View previous topic :: View next topic |
| Author |
Message |
cakestick
Joined: 22 Jan 2006 Posts: 6
|
Posted: Tue Jan 24, 2006 6:51 am Post subject: PSP WLAN sample code in ..sdk/samples/net/simple/ |
|
|
Hey everyone,
I've seen a lot of helpful network homebrew coming out lately, and have been working to contribute my efforts as much as possible. Having just found the 'samples' directory inside of the pspdev branch, and after a little hacking up of the 'simple' net example, I have been able to cram together some test code in C for using sockets. However, an example on how to simply create a connection to a server, and maintain communication over that connection has been difficult to find.
Can anyone provide information that they might have found helpful while programming sockets for the PSP? |
|
| Back to top |
|
 |
danzel
Joined: 04 Nov 2005 Posts: 182
|
Posted: Tue Jan 24, 2006 7:37 am Post subject: |
|
|
Programming sockets on the psp is the same as bsd/unix sockets, so a quick google search should find you a whole lot of examples.
You could check out the peldet source code too, although it may be a bit too big to learn from. |
|
| Back to top |
|
 |
dbeyer3069
Joined: 19 Dec 2005 Posts: 81
|
Posted: Tue Jan 24, 2006 7:53 am Post subject: Re: PSP WLAN sample code in ..sdk/samples/net/simple/ |
|
|
| cakestick wrote: | Hey everyone,
I've seen a lot of helpful network homebrew coming out lately, and have been working to contribute my efforts as much as possible. Having just found the 'samples' directory inside of the pspdev branch, and after a little hacking up of the 'simple' net example, I have been able to cram together some test code in C for using sockets. However, an example on how to simply create a connection to a server, and maintain communication over that connection has been difficult to find.
Can anyone provide information that they might have found helpful while programming sockets for the PSP? |
search for "LIBCURL" on here. Someone posted a link for a pre-compiled library which you can use to do FTP/HTTP/TELNET, etc. I used it for my WIFI HTTP/FTP application (www.bestsoftworks.com/fileshare.htm) and it's easy to use. It comes with an example or two which will get you started. I exchange server info with it.
David Beyer |
|
| Back to top |
|
 |
cakestick
Joined: 22 Jan 2006 Posts: 6
|
Posted: Tue Jan 24, 2006 7:53 am Post subject: |
|
|
| I wasn't aware that the peldet code was available, I'll take a look - Thanks a bunch for the link! |
|
| Back to top |
|
 |
|