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 

networking help

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



Joined: 13 Jul 2005
Posts: 83

PostPosted: Sun Jul 23, 2006 1:39 pm    Post subject: networking help Reply with quote

What is the best way to debug a failed connect() call? Can I use errno.h and check the value of errno when it fails to see a slightly more descriptive reason behind the problem, other then it failed.(if thats the case is there something special I need to do, because the value in errno when I check it is 0)

Also, Im only loading ps2ips.irx to get networking abilities(when loading from ps2link), what other networking related modules will I need to load if I were to add an IOP reset to my program.

Lastly, are there any networking examples besides ee_echo.c(which was rather helpful).
Back to top
View user's profile Send private message AIM Address MSN Messenger
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Sun Jul 23, 2006 2:36 pm    Post subject: Reply with quote

There has been a history of issues with ps2ip, and even more often with ps2ips...

Using ethereal to capture packets and see what is going on will often be the best debug tool...

I'm not sure of the current state of things, but at least with previous versions resetting the iop was more or less required, and you really needed to do tcpip work on the iop as ps2ips didn't work right.

If you are resetting the iop, you need the following I believe:
ps2dev9
ps2ip
ps2smap

Checking out ps2link will give you more info, as it's about the best example. There used to be some iop based samples but I do not see them in the sdk install for some reason.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
ubergeek42



Joined: 13 Jul 2005
Posts: 83

PostPosted: Sun Jul 23, 2006 11:13 pm    Post subject: Reply with quote

Thanks, I'll definitly take a look at ps2link, and ethereal.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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