On Thu, 16 Nov 2000, Bakul Shah wrote:
->The simplest solution is to just fork a new process on
->accepting a new connection.  A sample implementation is

why not just bind to the port and then spawn off some processes (like 20
in his case) to do the accept(), once the accept() returns successfully just
take care of the request, close the connection and then goes back 
to accept().  Simple, easy, and even scales pretty well.  Since
it's freebsd, you even don't need to worry about putting a lock
around the accept() call.  



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to