|
-
Dec 19th, 2005, 08:07 AM
#1
Thread Starter
Lively Member
Simple webserver
Hello,
I have successfully created a client-server application.
The server listens on a specific port (say: 12345) and accepts incoming client connections.
Now, I'd like to be able to provide a server status html report tho whoever types in his browser the address http://myMachineIpOrDns:12345/
Can you advice me on how to write a simple webserver? It doesn't have to support POST, GET or make ASP pages run.
I just want it to detect and catch the incoming http requests and answer with some html created on the fly. Is this possible?
Thanks.
- mo! I said MOOOOOOO!!
- ...yep, that's a cow, alright.
-
Dec 19th, 2005, 08:14 AM
#2
Re: Simple webserver
There is a sample .net webserver called "cassini" you may want to google for.
-
Dec 19th, 2005, 10:01 AM
#3
Thread Starter
Lively Member
Re: Simple webserver
got it, thanks
- mo! I said MOOOOOOO!!
- ...yep, that's a cow, alright.
-
Dec 19th, 2005, 10:31 AM
#4
Re: Simple webserver
 Originally Posted by Phill64
There is a sample .net webserver called "cassini" you may want to google for.
I did and came up with all kinds of wierd stuff. Do you have an actual link?
-
Dec 19th, 2005, 11:21 AM
#5
Thread Starter
Lively Member
Re: Simple webserver
here
http://www.asp.net/Projects/Cassini/...ndex=0&tabid=1
you'll find the executable and the source inside the package
- mo! I said MOOOOOOO!!
- ...yep, that's a cow, alright.
-
Dec 19th, 2005, 11:28 AM
#6
Re: Simple webserver
 Originally Posted by BrightSoul
Cool. 
Thanks BrightSoul!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|