🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62684

Re: Detecting that NNTP is installed

#62684
From: Russ Allbery
Date: Thu, 02 Jan 2003 19:44
27 lines
2269 bytes
Tom <ttoconnell@hotmail.com> writes:
> Bas Ruiter <lordsnow@home.nl> wrote:

>> You mean, determine if the PC your program is executing on is running a
>> News server? I suppose you could try to connect to port 119 on
>> 127.0.0.1

> Yes, that's what I'm trying to do.  That would work, but our program
> doesn't currently support that.  I didn't know if you could tell by a
> registry key or something like that.

It's not clear to me what problem you're trying to solve, but my intution
says that you're going down a dead end.

Why do you need to know whether a PC is running a news server
automatically without just asking the user?  A vanishingly small
percentage of PCs run news servers; it's not something that you'd normally
encounter.  If your program uses a news server running on the local PC,
it's likely already intended for such a specialized subset of users that
automated probes aren't really going to gain you much.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylbs2zxrny.fsf@windlord.stanford.edu>
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!shelby.stanford.edu!not-for-mail
References: <52ca1a01.0212311258.4af64754@posting.google.com> <eab41v4tn8eainjm3kifb15uqfkpl9ct54@4ax.com> <52ca1a01.0301020731.12685673@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylbs2zxrny.fsf@windlord.stanford.edu>
Subject: Re: Detecting that NNTP is installed
Date: Thu, 02 Jan 2003 11:44:49 -0800
From: Russ Allbery <rra@stanford.edu>
References: <52ca1a01.0212311258.4af64754@posting.google.com> <eab41v4tn8eainjm3kifb15uqfkpl9ct54@4ax.com> <52ca1a01.0301020731.12685673@posting.google.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!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 26
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1041536689 15732 171.64.13.23 (2 Jan 2003 19:44:49 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:jdk/4xNIzL0/frpxedxw5AwBSeI=