🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52578

Re: NNTP programming

#52578
From: Johnny Favorite
Date: Mon, 28 May 2001 21:43
26 lines
2274 bytes
those who know me have no need of my name wrote:
> it's trivial to setup a local server, whether that's inn or hamster.

Trivial for you, maybe.  I've busted enough brane cells up against
UNIX-centric apps in the past to be wary.

My news server simulator turned out to be trivial enough.  Basically it
does nothing but read in commands, figures out what text file to open,
and sends back the contents.  The only command it knows how to handle by
itself is QUIT.

> still, a server that you can force to do things that real servers
> don't usually do, but which are allowed or have been seen in the wild
> can be much easier than installing 15 different servers.

Yes.  That was my main consideration.  Say I want to see what happens if
the connection times out due to Internet weirdness.  With my fake server
I can make it "time out" at exactly the same place over and over again.

> that can be handy, but it means that you probably haven't tested your
> reconnect code nearly as well as you might have if your server we're
> closer to the real things.

It might be an issue if I *had* any reconnect code!  If the connection
dies the user has to start it over again.
Technical Details
Message-ID: <PM000385633C4A5B22@cobalt.oceania.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!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
References: <MPG.157c048c1413afff989680@news.earthlink.net> <MPG.157c1e7b912dd607989682@news.earthlink.net> <PM0003855E95B04E95@cobalt.oceania.com> <9euf4v117mh@enews1.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <PM000385633C4A5B22@cobalt.oceania.com>
Subject: Re: NNTP programming
Date: Mon, 28 May 2001 14:43:09 -0700
From: Johnny Favorite (it means "Lucky Cow Bang Soda Candy") <allen@snakebite.com>
References: <MPG.157c048c1413afff989680@news.earthlink.net> <MPG.157c1e7b912dd607989682@news.earthlink.net> <PM0003855E95B04E95@cobalt.oceania.com> <9euf4v117mh@enews1.newsguy.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!newsfeed.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
Newsgroups: news.software.nntp
Organization: Hell, Inc.
Lines: 25
NNTP-Posting-Host: p-473.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Pineapple News 0.8.13 [SKYLAB BETA], BeOS (Intel) 5.0.3
X-Program-URL: http://www.concentric.net/~brunsona/pineapplenews.html