| View previous topic :: View next topic |
| Author |
Message |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Sat Dec 06, 2008 11:08 pm Post subject: Hello there, little help with networking |
|
|
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 |
|
 |
cosmito
Joined: 04 Mar 2007 Posts: 314 Location: Portugal
|
Posted: Sun Dec 07, 2008 7:51 am Post subject: |
|
|
| 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 |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Mon Dec 08, 2008 1:02 am Post subject: |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Dec 08, 2008 7:06 am Post subject: |
|
|
| 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 |
|
 |
methos3
Joined: 01 Feb 2008 Posts: 89
|
Posted: Thu Dec 11, 2008 10:30 am Post subject: |
|
|
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 |
|
 |
|