tcp server to serve http reqs

  • Thread starter Thread starter Paul Fi
  • Start date Start date
P

Paul Fi

im making a tcp server and tcp client to exchange Http messages is it
possible? if so how

from what i know that Http is an app protocol and sits above TCP so how
can i take advantage of that in .Net in building a tcp server app that
serves Http requests or messages?
 
You can do this quite easy, you just need to speak "HTTP 1.1".

Try to look for examples with java, there should be many around.

About HTTP : http://www.perlfect.com/articles/http.shtml

And here a java web server example :
http://www.onjava.com/pub/a/onjava/2003/04/23/java_webserver.html

A normal Web Server can handle about 800 HTTP request per second, I often
wonderd how many can be handled if you make you own simple HTTP server .
Please tell me here in this thread if you find out.

Best Regards

Anders Both, Denmark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top