DexOS http server test

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

DexOS http server test

Post 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.
Last edited by Dex on Wed Feb 21, 2007 5:30 pm, edited 1 time in total.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post 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.
Last edited by Alboin on Wed Feb 21, 2007 3:02 pm, edited 1 time in total.
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

hitting refresh 100 times on a row doesnt change its behaviour... :wink:

Nice work
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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 :)
User avatar
Colonel Kernel
Member
Member
Posts: 1437
Joined: Tue Oct 17, 2006 6:06 pm
Location: Vancouver, BC, Canada
Contact:

Post by Colonel Kernel »

Works great for me too -- Congratulations Dex! I doubt my OS will ever get that far along.
Top three reasons why my OS project died:
  1. Too much overtime at work
  2. Got married
  3. My brain got stuck in an infinite loop while trying to design the memory manager
Don't let this happen to you!
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

Thanks for testing, it will be NOW OFF LINE till tomorrow.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Cool 8) a HTTP server in DexOS 8)

inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
maddog39
Posts: 24
Joined: Fri Feb 02, 2007 7:32 pm
Location: New Hampshire, US

Post by maddog39 »

I wanna see this! Put it back up! :D
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

Is this multithreaded? or did you keep the single threading approach
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post 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:
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post 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.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post 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 )
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post 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
Last edited by Dex on Sat Feb 24, 2007 9:55 pm, edited 1 time in total.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post 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?
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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 :)
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply