🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60200

Re: Aborting NNTP commands

#60200
From: Jeremy
Date: Tue, 03 Sep 2002 20:39
20 lines
1912 bytes
Tim Mavers <webview@hotmail.com> wrote:

> I am writing a basic NNTP client in C# (dotnet) and am trying to determine
> what is the best way I can abort a (potentially) long NNTP command.

There is no provision for this in the protocol.  The only way to "abort"
is to tear down the socket connection, which is less than clean and
polite, but that technique is used by things like Outlook Express (not
that OE should be considered a model for NNTP client behavior).

Most clients just don't implement a "stop" button, since there isn't
any such thing in NNTP.  One significant problem with aborting a
connection like this is that the server may not "know" you've aborted
right away, and if it implements a per-user simultaneous connection
limit, your user may run into it after a couple of aborts because the
server hasn't registered that the previous connections are gone yet.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1031085575.979910@ok-corral.gunslinger.net>
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!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!nntp5.savvis.net!newsfeed.frii.net!newsfeed.frii.net!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!saloon!newsbastard
References: <3d7514d8$0$5514$45beb828@newscene.com>

Show Full Headers
Complete Article Headers
Message-ID: <1031085575.979910@ok-corral.gunslinger.net>
Subject: Re: Aborting NNTP commands
Date: Tue, 03 Sep 2002 20:39:35 +0000
From: Jeremy <jeremy@exit109.com>
References: <3d7514d8$0$5514$45beb828@newscene.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!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!nntp5.savvis.net!newsfeed.frii.net!newsfeed.frii.net!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 19
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow