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 

Socket Assistance

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



Joined: 30 Jun 2005
Posts: 66

PostPosted: Tue Aug 23, 2005 10:29 pm    Post subject: Socket Assistance Reply with quote

If someone can help me with opening data connections, could you please PM me? I hate asking for network programming assistance, but I am at a loss after reading article after article about sockets... the only problem I am having is with the procedure for opening data connections on the client end of things...

LiQuiD8d
Back to top
View user's profile Send private message AIM Address
cyod



Joined: 29 Apr 2005
Posts: 36

PostPosted: Wed Aug 24, 2005 2:08 am    Post subject: Reply with quote

Are you asking about sockets in general or specifically for PSP? If you are asking about sockets in general then this is probably not the right forum for this question, if you are asking about specifically about the PSP then search for the WiFi sample released by Psppet. It is actually quite complicated, but if you had a more specific question about it I'm sure someone would be more willling to help you than broad questions like this.
Back to top
View user's profile Send private message
liquid8d



Joined: 30 Jun 2005
Posts: 66

PostPosted: Wed Aug 24, 2005 2:41 am    Post subject: Reply with quote

Honestly, I JUST got it working. I didn't want to post for help here, as it wasn't really PSP related, but I had been working on it for the past 4 days or so with no luck.. just needed to read and re-read what was going on on the ftp server side of things, so thanks to PSPPet and PSPKrazy for their code. You should be seeing something soon.. keep your eyes peeled :)

Problem was listening for a data connection via ftp.. had to do the following:

Create data socket
Bind to data socket
Listen on data socket
Create accept socket
Accept on accept socket
Connect to data socket

Seems to be about right.. if anyone has input, let me know, otherwise, consider the problem solved...


LiQuiD8d
Back to top
View user's profile Send private message AIM Address
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