Page 1 of 3

DexOS http server test

Posted: Wed Feb 21, 2007 2:50 pm
by Dex
I am working on DexOS TCP/IP stack and am testing a basic http server, running on DexOS.
If you see the message about DexOS (when clicking on the link), that means it's on line and working.
[NOW OFF LINE]

Thanks.

Posted: Wed Feb 21, 2007 2:54 pm
by Alboin
Beautiful!

Code: Select all

 Welcome to DexOS test page.
 This is running on DexOS Server, which is running on the DexOS OS
 A world first, coded by team DexOS 
 Cool ;)
One of the first osdev projects I've seen to actually get something like this running.

Posted: Wed Feb 21, 2007 3:00 pm
by Combuster
hitting refresh 100 times on a row doesnt change its behaviour... :wink:

Nice work

Posted: Wed Feb 21, 2007 3:10 pm
by AJ
Combuster wrote:hitting refresh 100 times on a row doesnt change its behaviour... :wink:
Same here! Firefox 2.0.

Ping also seems to get a good response with no packet loss. Telnetting port 80 just seems to throw me off the connection. Don't know if any of this is useful :)

Posted: Wed Feb 21, 2007 3:15 pm
by Colonel Kernel
Works great for me too -- Congratulations Dex! I doubt my OS will ever get that far along.

Posted: Wed Feb 21, 2007 5:29 pm
by Dex
Thanks for testing, it will be NOW OFF LINE till tomorrow.

Posted: Thu Feb 22, 2007 9:29 am
by inflater
Cool 8) a HTTP server in DexOS 8)

inflater

Posted: Fri Feb 23, 2007 10:38 pm
by maddog39
I wanna see this! Put it back up! :D

Posted: Fri Feb 23, 2007 11:36 pm
by earlz
Is this multithreaded? or did you keep the single threading approach

Posted: Sat Feb 24, 2007 4:30 am
by inflater
I am interested how some OS can get some data from modem (if the internet connection is a dial-up), process the data by Transmission Control Protocol/Internet Protocol, and ... make some internet applications 8) My OS is too weak to have this function :lol:

Posted: Sat Feb 24, 2007 10:23 am
by Dex
Its single tasking at the moment, but i do intend to use mulit-threads, once i have done some more tests, there is one bug that i am trying to fix.
The bug is, it some times it gets stuck in SynRecived waiting for a SYN, ACK, FIN and RST, but does not seem to get it, so is stuck waiting, i am trying to keep to the standard, so am doing research for a time out in this case.
I have coded a time out, but it needs the TIME_WAIT state for it to work.

And later to day i will put it up for more testing.

I am designing a new ver of DexOS the will for example use ftp to load from Hdd etc.
Even if the hdd is on the PC, it will use a loop back methord.
One cool side note: is i can open the DexOS test page on my DS, using wifi, i see loads of thing i can have fun with with this.
Regards Dex.

Posted: Sat Feb 24, 2007 4:28 pm
by pcmattman
What I want to know is, how many hours did you spend staring at code to get all this to work?

(subliminal message: post source code :D )

Posted: Sat Feb 24, 2007 5:17 pm
by Dex
I have been working on it off and on for a long time, but because of the way its code i think it could be ported to another simular OS in about 2-3 days as it very self containd, as soon as have fix the bugs i will release code, if anyone got a rtl8139 ethernet card and want to run the server on there PC for testing let me know.

SERVER OFF LINE

Posted: Sat Feb 24, 2007 5:24 pm
by pcmattman
Nice, is that being read out of a file or is that just predefined?

Does this work on any other type of network card (I've got one of those onboard ones, VIA Rhine)? One other thing, does your OS have a GUI, or is it all text-based?

Posted: Sat Feb 24, 2007 5:36 pm
by Brynet-Inc
An HTTP server written in x86 ASM?

That has to be a first :lol:

(Well.. other embedded architecrues have written one in their native assembly language.. but it might be a rarity for x86 right?)

(Don't post the code.. We don't want it!! :?)

haha j/k :)