🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4858

Re: Indy - ReadFromStack - Success!

#4858
From: Paul Machiaverna
Date: Wed, 01 Dec 2004 22:26
13 lines
1563 bytes
Gambit,

I tried some code in a test application.  Each OnExecute contained a Synchronized call to a function that displayed a message in a text box.  Each message appeared at a frequency of ~800 milliseconds.  Maybe this long delay was caused by the call to Synchronize?  There needs to be a maximum of 55 milliseconds between each call to OnExecute.  If this can be done, then I will certainly rearrange some code and eliminate the loop in that function.

Paul Mac

>OnExecute is triggered inside of a tight loop.  Whether you loop inside of
>OnExecute yourself, or you let TIdTCPServer loop for you, the timing should
>be the same.
>
>
>Gambit
Technical Details
Message-ID: <41ae533d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41ae292f$1@newsgroups.borland.com> <41ae3c5e$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a8641c691be161db
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Paul Machiaverna" <paul.machiaverna@i-stat.com>
Sender: "Paul Machiaverna" <paul.machiaverna@i-stat.com>
Reply-To: "Paul Machiaverna" <paul.machiaverna@i-stat.com>
Subject: Re: Indy - ReadFromStack - Success!
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 68.239.169.59     
References: <41ae292f$1@newsgroups.borland.com> <41ae3c5e$3@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41ae533d$1@newsgroups.borland.com>
Date: 1 Dec 2004 15:26:53 -0700
X-Trace: newsgroups.borland.com 1101943613 207.105.83.66 (1 Dec 2004 15:26:53 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail