Updated: 2022/Sep/29

Please read Privacy Policy. It's for your privacy.


HUNTD(6)                         Games Manual                         HUNTD(6)

NAME
     huntd - hunt daemon, back-end for hunt game

SYNOPSIS
     huntd [-s] [-p address]

DESCRIPTION
     huntd controls the multi-player hunt(6) game.

     The -s option is for running huntd forever (server mode).  This is
     similar to running it under the control of inetd(8) (see below), but it
     consumes a process table entry when no one is playing.

     The -p option can be either a pathname, in which case a local socket by
     that name is used for the game, or a number, in which case it selects an
     alternate port number for the internet socket used for the game.  This
     allows for private games of hunt.

   INETD
     To run huntd from inetd(8), you'll need to uncomment the following line
     in /etc/inetd.conf:
           hunt dgram udp wait nobody /usr/games/huntd huntd
     Do not use any of the command line options; if you want inetd(8) to start
     up huntd on a private port, change the port listed for hunt in
     /etc/services.

NETWORK RENDEZVOUS
     When hunt(6) starts up, it broadcasts on the local area net (using the
     broadcast address for each interface) to find a hunt game in progress.
     If a huntd hears the request, it sends back the port number for the hunt
     process to connect to.  Otherwise, the hunt process starts up a huntd on
     the local machine and tries to rendezvous with it.

SEE ALSO
     sendmail(1), hunt(6)

AUTHORS
     Conrad Huang, Ken Arnold, and Greg Couch;
     University of California, San Francisco, Computer Graphics Lab

NetBSD 10.99                    March 29, 2014                    NetBSD 10.99