i'm supposed to make persistent HTTP web server which is non-blocking. so far i have used the select() to accept multiple request from different clients. can anybody tell me how should i code to make web server persistent??
+1
A:
Just never return from main() function, don't call exit() etc. And you may also use daemon() function under linux.
Pawel Kolodziej
2010-09-04 10:16:42