Article View: news.software.nntp
Article #21065Re: Slaving on a port other than 119?
From: coneill
Date: Fri, 29 Aug 1997 00:00
Date: Fri, 29 Aug 1997 00:00
20 lines
1639 bytes
1639 bytes
"R. Joyner" <rjoyner@ais.net> writes: > I have a "peer" server running on my hub box on port 119 to talk with the > outside world. It deals with transit, etc. I have a second server running > on an alternate port on the same box which deals with numbering the articles > (generating all the XRef headers) and distribution to all of my internal > reader boxen. The INN servers on the reader machines run on port 119. From > what I can see of the post.c code, nnrpd doesn't know how to connect to the > master on any port other than 119. Obviously, in my case, that's a problem > since my "master" doesn't run on port 119. Has anyone gotten down & dirty > with NNTPConnect() to see if alternate ports are a pain? NNTPConnect has a symbol defined internally called nntp_port that is a char *. If you define this as an extern in your code then you could be able to hard code setting it to whatever port you want. The real solution to this problem is probably to just define this as a public symbol in libinn.h, preferably not a char * :)
Technical Details
Message-ID:
<86en7cwt6t.fsf@blah.erols.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!not-for-mailReferences:
<5u75bg$j88$1@news5.ais.net>Show Full Headers
Complete Article Headers
Message-ID: <86en7cwt6t.fsf@blah.erols.com> Subject: Re: Slaving on a port other than 119? Date: Fri, 29 Aug 1997 00:00:00 +0000 From: coneill@blah.erols.com References: <5u75bg$j88$1@news5.ais.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!not-for-mail X-Deja-AN: 268989190 Organization: Erol's Internet Services X-Received-On: 29 Aug 1997 21:54:27 GMT Newsgroups: news.software.nntp