Hi,

I'm having some trouble getting the select() call (actually the
wrapper around NetLibSelect() from NetSocket.c) to multiplex events on
the STDIN_FILENO file descriptor.

I have confirmed that the STDIN_FILENO descriptor is being set in the
read fd_set I created, in addition to some socket file descriptors.
My select() has no timeout, so it blocks until an event occurs on one
of the file descriptors in my read file descriptor set.  This appears
to work fine for the socket file descriptors.  However, I am having
problems with getting it to recognize read events on STDIN_FILENO.

When I start my application, the screen goes blank and the event
multiplexing begins.  As I mentioned, networking events are
multiplexed just fine.

The problem was confirmed by running my application in POSE 3.0a4 and
debugging it with gdb.  I'm very new to Palm programming, and GUI
programming in general, so any help would be greatly appreciated.

BTW, I'd post the code but it's basically the same code that has been
posted on this list several times before, and also found at the Palm
web site.

Thanks,
-Ossama
-- 
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to