Article

From:
To:
Andreas Kanthak
Subject:
Re: Error with TApdWinsockPort
Newsgroup:
turbocontrol.apro.general

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
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Thu, 14 Nov 2024 23:00:24 UTC
Copyright © 2009-2024
HREF Tools Corp.