xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Easiest Tcp/ip Implementation For Openxdk?
miker00lz
post Jan 31 2010, 07:57 AM
Post #1


X-S Enthusiast


Group: Members
Posts: 10
Joined: 23-January 10
Member No.: 431241



what is the easiest way to go about dropping some TCP support into an openxdk development environment? i've got the xbox packet driver. i've had the idea of writing a TCP stack in the past (non-xbox), but that is a hell of a project to attempt. it would take ages to completely finish and debug, and still probably not work completely right.

i've been putting major thought into developing my own dashboard program to maybe eventually replace ones like unleashx and evolutionx. it just wouldn't even be worth attempting if i couldn't implement TCP though. my main motivation for a new dashboard is that i would be implementing the samba protocol. FTP can be a pain in the ass at times. it would be awesome to just map your xbox partitions as windows drive letters, or mount them in *nix as if it were any other computer sharing folders.

anybody have some advice for the TCP bit? if i can figure something out for that, then i'll be all set. i have many years of network-related programming under my belt, so if i can get a working TCP stack i'm in the home stretch here...

pop.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
openxdkman
post Feb 4 2010, 11:55 AM
Post #2


X-S Genius
****

Group: Moderator
Posts: 822
Joined: 2-August 06
Member No.: 292548
Xbox Version: unk
360 version: unknown



Take a look at existing stacks (each one has it's api philosophy) and select your favorite

Personally I needed wattcp 16 bits (earlier version) for ms dos compatibility of calling applications source
but it comes with an odd license not allowing source publishing. So I coded it but I can't give it out.

You may try wattcp 32 bits which has now a more regular license
or the one which seems to be the favorite of all devs : lwip (v1.3.0 I guess)

I don't know lwip at all.

Code very slowly and test a lot each vertical layer...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Jul 19 2010, 09:41 AM
Post #3


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



For future's sake, Gentoox Loader - a Cromwell derivative uses lwip and has support for DHCP. It uses the stack to support network booting and web booting of the kernel from a remote site.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Hyper_Eye
post Jul 19 2010, 06:19 PM
Post #4


X-S Expert
***

Group: Members
Posts: 592
Joined: 26-December 03
From: Huntsvegas, AL.
Member No.: 85607
Xbox Version: v1.0
360 version: v1 (xenon)



Forgive me as I am not a long-time Xbox dev and my experience with openxdk is very limited at this point but what is the reason for a tcp stack not having been added? Seeing as how a number of people have implemented a stack for their purposes can we not have one in the development package? When you get devKitPro for GC/Wii development you don't have to hunt down and implement a tcp stack. You can also build C++ code. tongue.gif I am very interested in working with openxdk as being able to build and release Odamex for Xbox on odamex.net would be awesome. It just seems like there are too many missing pieces and my time is stretched thin already trying to get an xdk build ready for Odamex 0.5. One thing I do intend to port over to openxdk is Agar as it is a c-based library dependent on libSDL. But I will not be porting, initially anyway, the Odamex launcher as I am developing it in C++.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Jul 20 2010, 03:23 AM
Post #5


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



AFAIK, OpenXDK supports C++ from 0.7 release onwards but I could be wrong..

Gentoox Loader is based on Linux and there may be some dependencies but I know the USB stack of OpenXDK borrowed heavily from Linux's Cromwell.

By the way, the SDL library in OpenXDK is not a full port , I think it supports 640x480 only and doesn't have the same capabilities as libSDLx.

openxdkman should know more on the development history of OpenXDK and the reasons behind the lack of the tcp ip stack.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
openxdkman
post Jul 23 2010, 05:37 PM
Post #6


X-S Genius
****

Group: Moderator
Posts: 822
Joined: 2-August 06
Member No.: 292548
Xbox Version: unk
360 version: unknown



I've adapted wattcp 16 bits to xb1 for my own needs (added pppoe support, etc...).
Unfortunately the license is odd and prevents source from being shared.
Not enough free time atm to do anything significant... beside bringing morale support to all!
Legal homebrew on xb1 is less attractive than xdk direct8 usage, that's why motivation is low around openxdk (but I don't despair to release something -minidash with unified api- in future, normally wattcp 16 bits license allows me to publish binary without source).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 20th May 2013 - 04:22 PM