🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Threads and Indy v9 NNTP->GetBody

#5829
From: Art Alvarado
Date: Tue, 27 May 2003 23:50
29 lines
1993 bytes
I don't know 100% for sure, but I believe that most NNTP servers do not
allow you to download multiple articles simultaneusly.

The only way I could think of is to actually have multiple connections to
the server, each connection in a VCL TThread object.  That way you can
download multiple articles simultaneously.

Again, this all depends on the server you are connecting to.

-Art


"anthony" <anthony@nospam.com> wrote in message
news:3ed3f293$1@newsgroups.borland.com...
> 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: <3ed3fc26@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ed3f293$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,d0af1d6930cf27c2
X-Google-Attributes: gid11508e,public
X-Google-Thread: 1036eb,d0af1d6930cf27c2
X-Google-Attributes: gid1036eb,public
X-Google-ArrivalTime: 2003-05-27 17:09:52 PST
From: "Art Alvarado" <gug@gug.net>
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock
References: <3ed3f293$1@newsgroups.borland.com>
Subject: Re: Threads and Indy v9 NNTP->GetBody
Date: Tue, 27 May 2003 17:50:51 -0600
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.30.148.162
Message-ID: <3ed3fc26@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054080038 200.30.148.162 (27 May 2003 17:00:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail