Article

From:
To:
Andreas Kanthak
Subject:
Re: Error with TApdWinsockPort
Newsgroup:
turbocontrol.apro.general
URL:
Shortcut to this article
Printer Friendly

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
 
 
 
24-Jul 11:00 utc Operating system upgrade in process, expect some down time.
Originally created by
[Tamarack]
Sat, 21 Jul 2018 21:18:52 UTC
Copyright © 2009-2018
HREF Tools Corp.