You have a main thread that does an accept() loop and queues
the connections via the descriptor (possibly starting new threads, *if
required*).
I've already implemented this for a web proxy I've been working on.
-tony
--- E-Mail: Tony Gale <gale@syntax.dera.gov.uk> Advice is a dangerous gift; be cautious about giving and receiving it.The views expressed above are entirely those of the writer and do not represent the views, policy or understanding of any other person or official body.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/