Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: win32 equivalent of select()

Author: Robert Hyatt

Date: 07:50:53 05/28/01

Go up one level in this thread


On May 28, 2001 at 01:46:16, Alex Boby wrote:

>
>Other than the dinky _kbhit(), is there a win32 equivalent of the all mighty
>select()? If not,.. how does everybody poll for input under windows?
>
>Sorry for the stupid question but I had a tough time finding anything with msdn.
>
>Alex


Take a look at the crafty source, utility.c.  Look for the peekNamedPipe()
function call.  It will do what you want (not quite like select, but it gets
the job done).



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.