• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Select Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Select Problem (From: Dario <email@hidden>)

  • Prev by Date: Re: Select Problem
  • Next by Date: Re: OTSndUData - problem on Mac OS 9
  • Previous by thread: Select Problem
  • Next by thread: Re: Select Problem
  • Index(es):
    • Date
    • Thread