I have no problems with NetLibSelect: it works like a charm. But I think I
am using it a little differently. I will have to take a look at my code
tomorrow at the office to be sure, but if I remember correctly, when it
returns, if it isn't negative (error), isn't 0 (timeout), and there is no
TCP/IP i/o to do, then it must be a user input event and I pass control to
my event loop. That is to say, I never bothered to see if sysFileDescStdin
was set. Don't know if that's good, bad, or indifferent, but it worked
(perhaps rather serendipitously) for me.
Charles Morris
Curtis Jackson <[EMAIL PROTECTED]> wrote in message
news:47237@palm-dev-forum...
>
> I'm calling NetLibSelect like so:
> When I have TCP/IP i/o to do, it returns me 1, which is correct, and
> readFDs is set to 2, which is also correct.
> But it NEVER sets the sysFileDescStdin bit (0).
>
> If I loop over EvtGetEvent() and NetLibSelect() iteratively, life is ugly
> but it does work.
>
> What am I doing wrong?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/