On Thu, Nov 16, 2000 at 11:38:14AM +0100, Nicolai Petri wrote:
> What's the best approach for a simple web-server(never more the 10 clients)
> ? Is it using pthread and a thread per connection . Or to make a
> non-blocking single thread server. Can people show me some simple examples
> of the 2 techniques ?
>
Depending on exactly what you are trying to achieve you may want to take a
look at thttpd, if you have not allready seen it.
It is select based though:
http://www.acme.com/software/thttpd/notes.html#select
--
GeoffB
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message