Thread View: news.software.nntp
5 messages
5 total messages
Started by Tom
Tue, 31 Dec 2002 20:58
Detecting that NNTP is installed
Author: Tom
Date: Tue, 31 Dec 2002 20:58
Date: Tue, 31 Dec 2002 20:58
6 lines
935 bytes
935 bytes
I want to programatically determine if NNTP is installed. Does anyone know how to do this? Thanks in advance. -Tom
Re: Detecting that NNTP is installed
Author: Bas Ruiter
Date: Tue, 31 Dec 2002 23:52
Date: Tue, 31 Dec 2002 23:52
18 lines
1523 bytes
1523 bytes
> 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 -- [ 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.
Re: Detecting that NNTP is installed
Author: Tom
Date: Thu, 02 Jan 2003 15:31
Date: Thu, 02 Jan 2003 15:31
17 lines
1509 bytes
1509 bytes
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. -Tom
Re: Detecting that NNTP is installed
Author: The Profiteer
Date: Thu, 02 Jan 2003 19:08
Date: Thu, 02 Jan 2003 19:08
33 lines
2156 bytes
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 --
Re: Detecting that NNTP is installed
Author: Russ Allbery
Date: Thu, 02 Jan 2003 19:44
Date: Thu, 02 Jan 2003 19:44
27 lines
2269 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads