 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
ubergeek42
Joined: 13 Jul 2005 Posts: 83
|
Posted: Sun Jul 23, 2006 1:39 pm Post subject: networking help |
|
|
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 |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Sun Jul 23, 2006 2:36 pm Post subject: |
|
|
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 |
|
 |
ubergeek42
Joined: 13 Jul 2005 Posts: 83
|
Posted: Sun Jul 23, 2006 11:13 pm Post subject: |
|
|
| Thanks, I'll definitly take a look at ps2link, and ethereal. |
|
| Back to top |
|
 |
|
|
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
|