I've had some experience writing normal tcp client/server under unix but am
just starting out writing networking code on the palm. I am confused as to
where I can put my code in the event loops so as to still provide GUI
interactivity to the user. For instance, in the single threaded,
event-driven Palm environment, how can I set it to poll/select a socket
every X milliseconds, then display any data which arrives, while still
allowing the user to enter and send their own data? Currently my Palm client
connects to a simple server and can send data to it whenever the user types
text and clicks a "send" button, however I am confused as to how to
structure the code to allow a two-way communication (e.g. for a chat kind of
program). Any help greatly appreciated!

Rhys.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to