🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62681

Re: Detecting that NNTP is installed

#62681
From: The Profiteer
Date: Thu, 02 Jan 2003 19:08
33 lines
2156 bytes
On 2 Jan 2003 07:31:21 -0800, ttoconnell@hotmail.com (Tom) tossed the
following into news.software.nntp:

>Bas Ruiter <lordsnow@home.nl> wrote in message news:<eab41v4tn8eainjm3kifb15uqfkpl9ct54@4ax.com>...
>> > I want to programatically determine if NNTP is installed.  Does anyone
>> > know how to do this?
>> 
>> 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
>> 
>> 
>> 
>>  Bas Ruiter
>
>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.

Since not all OS's have "registry key" such things, and not all software even
on Windows creates a "registry key", I'd think Bas' method would be best.  Of
course, there could be some software resident on the machine answering on a
different port, but I don't think you can cover ALL eventualities in your
'test'.

>
>-Tom

Be Well my brother...
Prof
Positronic Replicant Optimized for Fighting
-- 

Technical Details
Message-ID: <ae391vsjqkmke35ven01q1cf018dsdprpg@news.iplweb.org>
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!nntp.cs.ubc.ca!nntp.itservices.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn11feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
References: <52ca1a01.0212311258.4af64754@posting.google.com> <eab41v4tn8eainjm3kifb15uqfkpl9ct54@4ax.com> <52ca1a01.0301020731.12685673@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <ae391vsjqkmke35ven01q1cf018dsdprpg@news.iplweb.org>
Subject: Re: Detecting that NNTP is installed
Date: Thu, 02 Jan 2003 19:08:42 +0000
From: The Profiteer <TheProfiteerBITESPAM@iplweb.org>
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!nntp.cs.ubc.ca!nntp.itservices.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn11feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Totally Lacking
Lines: 32
Reply-To: TheProfiteerBITESPAM@iplweb.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent 1.92/32.570