hello there, i just want to ask...how would i apply threading to a web server app?? my problem is, i dunno how to create a web server...i created a simple server that sends hello world to a client that sends a request...how would i apply threading to this one??
jaepi 22 Practically a Master Poster
Recommended Answers
Jump to Postnormally, you would not try to write a web server yourself. instead you would host your web application inside an application server like apache or IIS. and let that take care of not merely threading, but also a lot of other issues which need to be addressed (security, cookie management, …
Jump to Postwhat you wrote (sending hello world to a client) is a socket server; if you also handle http requests and provide http responses, you would have the rudiments of a web server.
for what a web server is, see:
Jump to Postnormally, you would not try to write a web server yourself.
Someone has to do it ;)
Been thinking of writing my own IRC server but things keep getting in the way.
All 9 Replies
vijayan121 1,152 Posting Virtuoso
jaepi 22 Practically a Master Poster
vijayan121 1,152 Posting Virtuoso
jaepi 22 Practically a Master Poster
vijayan121 1,152 Posting Virtuoso
jaepi 22 Practically a Master Poster
jwenting 1,905 duckman Team Colleague
jaepi 22 Practically a Master Poster
smitz 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.