I have implemented a WakeUpHandler and have primed it to be triggered by x
bytes. In the handler I have implemented:

do {
    error = SrmReceiveWindowOpen (gPortId, &myBuffer, &numRead);
    :
    :
    :
    errorflag = SrmReceiveWindowClose(gPortId, numRead);
} while numRead;

Everything works, however I am now fine-tuning my application and I noticed
that my loop ALWAYS exits after reading the number of bytes the handler was
primed at even though more data has been sent. Is there a way to continue
reading incoming data WITHOUT exiting my handler ??


-- 
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