Date: Mon, 16 Nov 1998 14:32:19 -0800 (PST) From: Alex Belits <abelits@phobos.illtel.denver.co.us> To: Terry Lambert <tlambert@primenet.com> Cc: Bakul Shah <bakul@torrentnet.com>, nate@mt.sri.com, hackers@FreeBSD.ORG Subject: Re: Supporting more than FD_SETSIZE fd's Message-ID: <Pine.LNX.4.02A.9811161430460.12353-100000@phobos.illtel.denver.co.us> In-Reply-To: <199811162109.OAA03119@usr08.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Nov 1998, Terry Lambert wrote: > Right. > > The problem that normally occurs in naieve net code is this: > > cnt = getdtablesize(); > select( cnt + 1, ...) > > The UMICH LDAP server has code like this, and there's a *lot* of > Linux code that operates like this, on the assumption that the > getdtablesize() function will never return more than FD_SETSIZE > number of descriptors. rxvt has (or had? I have sent a patch but never checked if it was accepted) that problem, too. -- Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.02A.9811161430460.12353-100000>