By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

tcp server to serve http reqs

P: n/a
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?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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/2...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.


"Paul Fi" <na*******@hotmail.com> wrote in message
news:e7**************@TK2MSFTNGP10.phx.gbl...
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?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.