From owner-freebsd-hackers Sat Nov 14 10:00:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02786 for freebsd-hackers-outgoing; Sat, 14 Nov 1998 10:00:46 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02779 for ; Sat, 14 Nov 1998 10:00:44 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id LAA26712; Sat, 14 Nov 1998 11:00:22 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA08322; Sat, 14 Nov 1998 11:00:21 -0700 Date: Sat, 14 Nov 1998 11:00:21 -0700 Message-Id: <199811141800.LAA08322@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bakul Shah Cc: Nate Williams , hackers@FreeBSD.ORG Subject: Re: Supporting more than FD_SETSIZE fd's In-Reply-To: <199811141753.MAA25077@chai.torrentnet.com> References: <199811111903.MAA18067@mt.sri.com> <199811141753.MAA25077@chai.torrentnet.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > The code fragment I showed is approx. right as I've used > > > something similar a couple of times before but I will try to > > > turn it into a working example over the weekend. > > > Thanks. If it included the MACROS so much the better. :) :) :) > > Check out > http://www.bitblocks.com/src/select-test.c > It even includes code to create and manipulate an FD set > object! Note that when used on a kernel that has fixed > FD_SETSIZE select() implementation, you must allocate exactly > FD_SETSIZE elements (and certainly no less) in an FD set. Thanks, I may not use the code directly, but by looking at it I certainly have a good idea how to make the JDK work, and why my attempts at this failed. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message