Re: Select Problem
Re: Select Problem
- Subject: Re: Select Problem
- From: Jens Bauer <email@hidden>
- Date: Mon, 16 Feb 2004 21:24:13 +0100
Hi Dario (and everyone, who's interested in making servers/web-servers),
I wrote my own web-server, after taking a look at a nice server called
thttpd.
You can grab the source from <
http://www.acme.com/>, it shows how to
make a quite good performing web-server [in some cases better than
Apache].
(see <
http://www.acme.com/software/thttpd/benchmarks.html> for some
tests they ran on it)
I got a bunch of good tricks from it, and made my own simple server.
There are a few other example-sources for servers, that are simpler
than thttpd.
On Monday, Feb 16, 2004, at 17:13 Europe/Copenhagen, Dario wrote:
while( 1 ) {
ret = select(1,&rset,NULL,NULL,NULL);
printf("ret:%d\n",ret);
printf("set:%d\n",FD_ISSET(sock,&rset));
}
Love,
Jens
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.