Hi Caspar,
unfortunately, you don't have threads available for developers in Palm OS 5 (except the sound thread). But you could periodically check the state of your net work connection during a nilEvent. You would then have to process the http response at your own. But this shouldn't be a great deal.
Regards Henk
Caspar Heiden, vd wrote:
I recently bought the http lib form pdadevelopers.com, not realizing it would use blocking functions.
For the application I'm working on it is absolutely necessary to have asynchronous communication: - I post a request to a server and give control flow back to the main loop of the app. - The request is processed in the background by a separate (OS -) thread - As soon as a related event occurs a callback funtion is called
Is this possible on OS 5? For example using Bluetooth and a GPRS-phone? Can anyone give me tips, pointers to sample programs, etc?
Thanks & regards,
Caspar
-- ------------------------------------------------------------------------- Henk Jonas Palm OS � certified developer
[EMAIL PROTECTED] www.metaviewsoft.de -------------------------------------------------------------------------
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
