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 

accept() fails ? networking issue

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



Joined: 12 Dec 2008
Posts: 6

PostPosted: Mon Dec 15, 2008 8:48 am    Post subject: accept() fails ? networking issue Reply with quote

solved

Last edited by Ramja on Fri Dec 19, 2008 6:22 am; edited 1 time in total
Back to top
View user's profile Send private message
Ramja



Joined: 12 Dec 2008
Posts: 6

PostPosted: Wed Dec 17, 2008 5:21 pm    Post subject: Reply with quote

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



Joined: 27 Dec 2004
Posts: 61

PostPosted: Fri Dec 26, 2008 8:07 pm    Post subject: Reply with quote

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



Joined: 01 Feb 2008
Posts: 89

PostPosted: Mon Dec 29, 2008 11:13 pm    Post subject: Reply with quote

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