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 

PSP WLAN sample code in ..sdk/samples/net/simple/

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



Joined: 22 Jan 2006
Posts: 6

PostPosted: Tue Jan 24, 2006 6:51 am    Post subject: PSP WLAN sample code in ..sdk/samples/net/simple/ Reply with quote

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
View user's profile Send private message
danzel



Joined: 04 Nov 2005
Posts: 182

PostPosted: Tue Jan 24, 2006 7:37 am    Post subject: Reply with quote

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
View user's profile Send private message
dbeyer3069



Joined: 19 Dec 2005
Posts: 81

PostPosted: Tue Jan 24, 2006 7:53 am    Post subject: Re: PSP WLAN sample code in ..sdk/samples/net/simple/ Reply with quote

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
View user's profile Send private message
cakestick



Joined: 22 Jan 2006
Posts: 6

PostPosted: Tue Jan 24, 2006 7:53 am    Post subject: Reply with quote

I wasn't aware that the peldet code was available, I'll take a look - Thanks a bunch for the link!
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