🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by coneill Fri, 29 Aug 1997 00:00
Re: Slaving on a port other than 119?
#21065
Author: coneill
Date: Fri, 29 Aug 1997 00:00
20 lines
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 * :)


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