To: Andreas Kanthak
From: Paul Breneman
Newsgroup: turbocontrol.apro.general
 
04-Mar-2005

Re: Error with TApdWinsockPort

Andreas,

> yes, i am using loops to process incoming data. Just like
> 
> 
> FCom.Putblock()
> repeat
>   application.processmessages;
> until Allreceived or timeout;
> 
> What can I do then, to get it work correctly?

Since you have application.processmessages in your loop, the loop itself 
should not be the problem.

Is this loop in an AsyncPro event handler or in a routine that is called from an AsyncPro event handler? The fact that the output is delayed by two seconds seems to indicate something like that might be the issue.
-- Regards, Paul Breneman http://www.TurboControl.com http://www.turbocontrol.com/TPSupport.htm - TurboPower support links
 
Originally created by
Tamarack Associates
Thu, 28 Mar 2024 21:19:41 UTC
Copyright © 2009-2024
HREF Tools Corp.