On 19-Jan-00 B. Flaumenhaft wrote:
> The fact that you have several local databases open shouldn't be a problem.
> The difficult part is accepting user input (handling user events) while
> doing stuff locally.
I've found it to be pretty smooth. The only chunky-ness I notice is during
the blocking DNS lookup & connect and occasionally a NetLibSend() seems to
cause the cursor to flash a little slower. Other than that, can't even tell
I'm receiving/sending data asynchronously with user input.
Just use the technique on the KB which says to EvtGetEvent() with a timeout
of zero while you have a socket open, and then use the NetLibSelect() instead
to do the sleeping. netFDSet(sysFileDescStdIn, &rfds) will allow
NetLibSelect() to drop out when there is screen/tapping activity.
Now if you have to wait for incoming connections you may have a problem.
Other users have mentioned that the accept() call doesn't work quite right
with select().
/* Chris Faherty <[EMAIL PROTECTED]> */