09-08-2005 11:52 AM - edited 09-08-2005 11:52 AM
Message Edited by Massimiliano Conti on 09-08-2005 11:57 AM
09-08-2005 05:56 PM
Hi Massimiliano.
Yes, you should continue to receive TCP_DATAREADY events as long as there is unread data on the connection. I have confirmed this in recent tests (with CVI 6.0).
If you prefer not to handle any new data immediately as it arrives, you could execute ClientTCPRead() in a loop which exits when there is no remaining data. If you do this, include an additional method of breaking out of the loop, based on elapsed time or number of iterations.
Regards,
Colin.
09-09-2005 03:17 AM
Thank you very much !!