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 

Hello there, little help with networking

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



Joined: 01 Feb 2008
Posts: 89

PostPosted: Sat Dec 06, 2008 11:08 pm    Post subject: Hello there, little help with networking Reply with quote

Hello, ps2dev people!
I am making a program that wil use TCP/IP to transfer files between different platforms.
I was wondering if it would be possible to make this program to the ps2 too.
Well, probably yes, but I need to know some little things to start on the ps2.
I am planing to make this program to run on Windows, Linux, and on the PS2.
For this, I will make some questions:
1) the ps2sdk provides socket-based tcp/ip programing?
2) the ps2sdk will support dhcp, or only fixed IP?
3) If it's socket-based, there is any guide/sample/tutorial on how to use its sockets?

Thanks!

ps.: it isn't a great project, (for now, at least) if you want to use a great file transfer program, use the uLaunchelf ;)
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Sun Dec 07, 2008 7:51 am    Post subject: Reply with quote

As far I know there is no documentation, but I guess the examples and source should guide you. Check the sdk's sources (ps2sdk\iop\tcpip).
Back to top
View user's profile Send private message Visit poster's website
methos3



Joined: 01 Feb 2008
Posts: 89

PostPosted: Mon Dec 08, 2008 1:02 am    Post subject: Reply with quote

Heya, thx, friend!
I've found the ps2ip.h, it have almost all of the functions of the winsock.h, but... What can I do to use an asynchronous mode? And the DHCP, the ps2sdk already supports DHCP?
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Dec 08, 2008 7:06 am    Post subject: Reply with quote

Probably not. Look at existing programs that use networking: SMS and uLE. Both are open source and use the networking in a significant manner.
Back to top
View user's profile Send private message AIM Address
methos3



Joined: 01 Feb 2008
Posts: 89

PostPosted: Thu Dec 11, 2008 10:30 am    Post subject: Reply with quote

Hey, thx for the help!
I've searched a little more on my own and found that the SDL port provides multithreading, and I will use this to make my server then.
Thx for the help!
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