🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61280

Re: Custom Client Software - Last Quick Question

#61280
From: Bas Ruiter
Date: Thu, 10 Oct 2002 18:02
92 lines
4699 bytes
> When a msg is cross-posted to say 3 groups, does each of the groups have a 
> msg in it, each with their own unique msg ID?

If the message is posted one time to all three groups, then there is
only one message and one msgID.

The Newsgroups: header determines what newsgroups the msg shows up in.

In each Newsgroup I *think* the msg has an article number that applies
only in that newsgroup. If I'm not mistaken, these are the numbers
after the groups in the Xref: header. But check that out with someone
else if that is so, because I'm hazy on that.

> because I planned to use the unique msgID as a key field.

MsgID is -the- key field for a msg.

> I just wasn't sure and there was a discussion in a group a while ago 
> complaining about cross-posting large binary files, which caused older 
> articles to expire quickly because you are posting to each group the same 
> info.
> Someone later replied saying that wasn't the case (now), because the files 
> that are posted are saved into the original group and only references to it 
> are sent.
> 
> At that point it made sense to me, but after going thru this whole 
> excercise as I am currently doing, I now question that. 

Yeah, I can understand the confusion.

Let's put it like this - posting something to one newsgroup, or
crossposting it to several newsgroups at once "costs" the same. Only
one instance of the articles are stored (on disk), and references
to this one copy apear in all newsgroups.

But I can understand the complaints too - servers are 'pipes'. First
in, first out. Any time something is posted, something else is lost
on the other side.

> NNTP (in itself) may have no concept of binaries or multi-part binaries 
> files it just doesn't seem possible.

NNTP is just concerned with the distribution of the articles. It's not
concerned with what's IN those articles.

> Further more, if it is possible, that would be server side voodoo correct?,

Some (all) newsservers are binary aware, but that's because of the
software they use that inspects the articles. Nothing to do with NNTP
protocol as such.

> and my objective, is to use commands that have been implemented for a long 
> time to help promote compliance to ANY news server (within reason of 
> course, I am using XOVER which I do not believe was in the original NNTP 
> spec).

Someone here said recently that "INN is how NNTP is done" (read, what
the current practise is). So have a look at the commands it supports.

> Last one, does anyone recommend/not recommend sending more than one command 
> on a command string. 
> 
> ie- GROUP alt.testCR/LF HEAD xxxxxxCR/LF

Uhm... no idea really. I guess it would depend on what commands you were
looking to group together.

If the GROUP command in your example failed for example, then your HEAD
command will probably return an undefined result - maybe an error code,
maybe the headers of the group you are already in before you tried
switching.

> I myself prefers to wait for the response code from a command before 
> sending any additional commands. This may be an issue depending on your 
> connection speed, and I am aiming at broadband users.

I would do that too - send a command, wait for the reply, etc.

If you want to speed things up, use multiple connections / threads. (The
News guys are gonna hit me for saying that).


 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Technical Details
Message-ID: <k1fbqu4pfvuu0t849nvqthsq5kd23q6c19@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.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!newsfeed.multikabel.nl!newshub1.nl.home.com!news.nl.home.com!zwoll1.home.nl.POSTED!not-for-mail
References: <92A385EF1idispcom@64.8.1.226>

Show Full Headers
Complete Article Headers
Message-ID: <k1fbqu4pfvuu0t849nvqthsq5kd23q6c19@4ax.com>
Subject: Re: Custom Client Software - Last Quick Question
Date: Thu, 10 Oct 2002 20:02:07 +0200
From: Bas Ruiter <lordsnow@home.nl>
References: <92A385EF1idispcom@64.8.1.226>
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.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!newsfeed.multikabel.nl!newshub1.nl.home.com!news.nl.home.com!zwoll1.home.nl.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 91
NNTP-Posting-Host: 213.51.200.31
X-Complaints-To: abuse@home.nl
X-Trace: zwoll1.home.nl 1034272984 213.51.200.31 (Thu, 10 Oct 2002 20:03:04 MEST)
NNTP-Posting-Date: Thu, 10 Oct 2002 20:03:04 MEST
Organization: @Home Network