Subject: Re: increasing FD_SETSIZE to 1024 or 2048?
To: Todd Vierling <tv@pobox.com>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 07/04/2000 16:20:52
On Tue, 4 Jul 2000, Todd Vierling wrote:

# On Tue, 4 Jul 2000, John Kohl wrote:
# 
# : This causes problems if the calling program increases FD_SETSIZE and its
# : file descriptor process limit, and then expects high-numbered file
# : descriptors to work properly with the RPC runtime's built-in small
# : fd_sets.  To make it worse, the RPC runtime exports its fd_set as a
# : global symbol the program can tweak.  All callers had better use the
# : same set size!
# 
# This is ... definitely suboptimal.  This should be using poll(), and
# certainly *not* exporting a fd_set for any reason.

Is there a good reason to be using poll() instead of select()?  I thought
that select() had been invented because the mechanism and concept behind
poll() was thought to be completely brain-dead.

				--*greywolf;
--
BSD: Feed The Computer.