5 $ nncp-daemon [options]
6 [-maxconn INT] [-bind ADDR] [-ucspi]
7 [-autotoss*] [-nock] [-mcd-once]
10 Start listening TCP daemon, wait for incoming connections and run
11 @ref{Sync, synchronization protocol} with each of them. You can run
12 @ref{nncp-toss} utility in background to process inbound packets from
15 @option{-maxconn} option specifies how many simultaneous clients daemon
16 can handle. @option{-bind} option specifies @option{addr:port} it must
19 It could be run as @url{http://cr.yp.to/ucspi-tcp.html, UCSPI-TCP}
20 service, by specifying @option{-ucspi} option. Pay attention that
21 because it uses @code{stdin}/@code{stdout}, it can not effectively work
22 with IO timeouts and connection closing can propagate up to 5 minutes in
23 practice. Example startup command:
26 tcpserver -DHR -l 0 ::0 uucp nncp-daemon -quiet -ucspi
29 Also it is some kind of backward compatible with @command{inetd}
30 interface, just lacking knowledge or remote's address:
33 uucp stream tcp6 nowait nncpuser /usr/local/bin/nncp-daemon nncp-daemon -quiet -ucspi
36 @option{-autotoss} option runs tosser on node's spool every second
37 during the call. All @option{-autotoss-*} options is the same as in
38 @ref{nncp-toss} command.
40 Read @ref{CfgNoCK, more} about @option{-nock} option.
42 @option{-mcd-once} option sends @ref{MCD} announcements once and quits.
43 Could be useful with inetd-based setup, where daemons are not running.