Results 1 to 6 of 6

Thread: Simple webserver

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Posts
    89

    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.

  2. #2
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    Re: Simple webserver

    There is a sample .net webserver called "cassini" you may want to google for.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Posts
    89

    Re: Simple webserver

    got it, thanks
    - mo! I said MOOOOOOO!!
    - ...yep, that's a cow, alright.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Simple webserver

    Quote 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?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Posts
    89

    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.

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Simple webserver

    Quote Originally Posted by BrightSoul
    here
    http://www.asp.net/Projects/Cassini/...ndex=0&tabid=1

    you'll find the executable and the source inside the package
    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
  •  



Click Here to Expand Forum to Full Width