🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56221

writing Perl nntp client, need help with header retrieval

#56221
From: Darek M.
Date: Thu, 24 Jan 2002 20:39
14 lines
1602 bytes
What is the most efficient way to get headers from a given group?

I am not good enough of a programmer to look through sources of open
source clients, but I am looking at the moment at using threads in my
little Perl search engine.

I would have 10 threads, each would accept a range of article numbers,
and would download the headers and return an array or hash,

That is unless anyone is familiar with a "suck" function that returns
all headers, or a better module than Net::NNTP.

Am I on the right path?
Technical Details
Message-ID: <j9pb4uo692p03ons9endc02b8lrmqauil0@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!nyccyc01!news-out.nyc.rr.com!typhoon.nyc.rr.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <j9pb4uo692p03ons9endc02b8lrmqauil0@4ax.com>
Subject: writing Perl nntp client, need help with header retrieval
Date: Thu, 24 Jan 2002 20:39:42 GMT
From: Darek M. <dm@forza.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!nyccyc01!news-out.nyc.rr.com!typhoon.nyc.rr.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 1.8/32.553 trialware
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 13
NNTP-Posting-Host: 24.168.71.18
X-Complaints-To: abuse@rr.com
X-Trace: typhoon.nyc.rr.com 1011904782 24.168.71.18 (Thu, 24 Jan 2002 15:39:42 EST)
NNTP-Posting-Date: Thu, 24 Jan 2002 15:39:42 EST
Organization: Road Runner - NYC