| View previous topic :: View next topic |
| Author |
Message |
Ramja
Joined: 12 Dec 2008 Posts: 6
|
Posted: Mon Dec 15, 2008 8:48 am Post subject: accept() fails ? networking issue |
|
|
solved
Last edited by Ramja on Fri Dec 19, 2008 6:22 am; edited 1 time in total |
|
| Back to top |
|
 |
Ramja
Joined: 12 Dec 2008 Posts: 6
|
Posted: Wed Dec 17, 2008 5:21 pm Post subject: |
|
|
No body?
I think issue with my IRX loading because the function work wn i load the elf with ps2link, but not when i use as a standalone.
what's even more uncommon, If i use the iRX loading straight from ps2link it still fails?
i cannot connect. excuse my bad english |
|
| Back to top |
|
 |
LionX
Joined: 27 Dec 2004 Posts: 61
|
Posted: Fri Dec 26, 2008 8:07 pm Post subject: |
|
|
| hey, you need to post what did to avoid someone getting stuck on this problem again. thats how we work at ps2dev.org |
|
| Back to top |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Mon Dec 29, 2008 11:13 pm Post subject: |
|
|
Hello!
I am starting a little program to send and receive messages/files for the PS2 and for PC.
For what I've searched, you will need to load the ps2dev9.irx, ps2smap.irx and ps2ip.irx modules, (order matter! i think :) ).
I looked the ps2smap.irx code and looks like you need to pass the IP settings as its param, ex: "192.168.2.2 255.255.255.0 192.168.2.1". In another words: a string in this format: "IP MASK GATEWAY".
To use the accept and the other socket functions, you will need the ps2ip.irx (I think).
The ps2dev9.irx is needed in order to load ps2smap.irx.
Why don't you try to reset the IOP? This will unload any modules previously loaded by another programs(and, of course, lose conectivity with ps2link), then load your own modules. A good idea is to use the bin2c tool to convert the irx's to code and then use SifExecModuleBuffer() function to load them.
Good luck!
[edit]
I think you won't need to load the ps2ip.irx module!!
The tcpip sample don't load the ps2ip.irx, so I think the ps2ip.h EE functions aren't imported from the IOP functions. |
|
| Back to top |
|
 |
|