Hi Vivek,
The solution to this will be to do polling. In the
event loop whenever a nil event is generated check for data in the
sockets(call ur recv function). But try not to call at every nilEvent
since this will slow down your application. Call recv at about say after
4 nilEvents. That should solve it.
;-) .
Sajul.
Vivek Desai wrote:
>I am supposed to port my Windows CE application to PalmOS. My WinCE
>application uses Windows Sockets wherein a thread is dedicated to recv()
>incoming messages. Palm is a single threaded platform. So is there any
>workaround to emulate a Multithreaded environment in Palm, or atleast a dual
>threaded environment.
>
>I know there will be developers who feel this is something that defies the
>very basics of Palm computing but I am afraid its difficult to convince my
>Project Managers.
>
>comments/suggestions welcome.
>
>regards,
>Vivek
>
>____________________________________
>
>Vivek Desai
>Patni Computer Systems Ltd.
>India.
>
>www.patni.com
>
>contact : [EMAIL PROTECTED]
>____________________________________
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/