Article View: borland.public.cppbuilder.internet.socket
Article #4728TIdHTTP OnWork
From: Ted Tripp
Date: Tue, 21 Dec 2004 21:50
Date: Tue, 21 Dec 2004 21:50
21 lines
1531 bytes
1531 bytes
BCB5
Thought I understood how the OnWork event worked, but when comparing the
cumulative total of AWorkCount and comparing it to both the resulting file
size, AnsiString and Local Area Connection Status display (received) I see a
major descrepancy--up to 40% difference between the WorkCount total and the
rest.
the code is something like:
int nTotalBytes = 0;
OnWork
{
nTotalBytes += AWorkCount;
}
This is on one call to a URL in a threaded app.
What am I not understanding the meaning of the AWorkCount?
Thanks
Technical Details
Message-ID:
<41c89ab7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a208acfa73369e15,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Ted Tripp" <ttripp@rankexec.com> From: "Ted Tripp" <ttripp@rankexec.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: TIdHTTP OnWork Date: Tue, 21 Dec 2004 15:50:47 -0600 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 216.160.57.213 Message-ID: <41c89ab7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103665847 216.160.57.213 (21 Dec 2004 13:50:47 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail