🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Threads and Indy v9 NNTP->GetBody

#5827
From: anthony
Date: Tue, 27 May 2003 23:18
10 lines
1374 bytes
I'm using the NNTP component to retreive bodies of news articles. If I want
to download two or more articles simultaneously I guess I need to use
threads.

The GetBody function only returns once the whole body has been retrieved so
how is it supposed to be used in a thread?  Do I need to use one of the Indy
thread components, or something completely different?

Thanks in advance
Anthony
Technical Details
Message-ID: <3ed3f293$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036eb,d0af1d6930cf27c2,start
X-Google-Attributes: gid1036eb,public
X-Google-Thread: 11508e,d0af1d6930cf27c2,start
X-Google-Attributes: gid11508e,public
X-Google-ArrivalTime: 2003-05-27 16:32:19 PST
From: "anthony" <anthony@nospam.com>
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock
Subject: Threads and Indy v9 NNTP->GetBody
Date: Wed, 28 May 2003 00:18:43 +0100
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.4.211.205
Message-ID: <3ed3f293$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054077587 80.4.211.205 (27 May 2003 16:19:47 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail