Changi NNTP Server 1.0

[ Bottom of Page | Previous Page | Next Page | Table of Contents ]

CHANGI.EXE
NNTP server

This is the main program within the package. When Changi is started, it sets up a TCP/IP socket on the NNTP port (defaults to the 'well-known' NNTP port number 119) and waits for connecting clients, each of which is given a new thread.

The next chapters will cover the following topics:


Usage Example

The following REXX script will call Expire to check and eventually repair the history files before calling Changi.
/* Running Changi */
DO FOREVER
    '@expire -vVxs'
    IF rc \= 0 THEN
        '@expire -vrxs -E14'
    '@del changi.pid 2>NUL'
    '@changi'
    IF rc = 0 THEN
        LEAVE
END
Naming this script NNTPD.CMD, you may create or update TCPEXIT.CMD in your TCPIP\BIN directory with the following lines:
c:
cd \changi
start /min "NNTP Daemon" nntpd
echo     ..... NNTP Daemon Started
Modify the first two lines if you didn't install Changi in C:\CHANGI.

Note, that TCPEXIT.CMD won't be called unless TCPSTART.CMD has been added to your startup folder.


[ Top of Page | Previous Page | Next Page | Table of Contents ]


URL: changi/manual/server.html
Created: 25 August 1996
Revised: 21 December 1996
Author: harald@os2point.ping.de