From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] Thread Library MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 7 Feb 2002 08:45:42 -0500 Topicbox-Message-UUID: 4e4ebdd2-eaca-11e9-9e20-41e7f4b1d025 > But the point is that you are only dealing with sockets. > > Try it on stdin ... Not to defend NT, but you can use WaitForMultipleObjects and hand it both the input console handle and a socket. You can also hand it semaphores, processes (wait until they die), threads. In general I find this much more useful than Unix's select. At least in NT everything is a handle. Russ