I/O Question

Seth Kurtzberg seth@cql.com
Thu, 1 May 2003 20:29:04 -0700


I need to find a way to determine whether data is available, for reading, on a socket connection, without blocking a thread.

The equivalent of select() or poll() would do the trick.  I don't need to get the information for all open files, as you can in select and poll, so a way to find out if there is data available on a single socket (or handle) is sufficient.

TIA,

-- 
Seth Kurtzberg
MIS Corp
480-661-1849
seth@cql.com