1HUNTD(6)                       BSD Games Manual                       HUNTD(6)
2

NAME

4     huntd — hunt daemon, back-end for hunt game
5

SYNOPSIS

7     huntd [-s] [-p port]
8

DESCRIPTION

10     huntd controls the multi-player hunt(6) game.  When it starts up, it
11     tries to notify all members of the hunt-players mailing list (see
12     sendmail(8)) by faking a talk(1) request from user “Hunt Game”.
13
14     The -s option is for running huntd forever (server mode).  This is simi‐
15     lar to running it under the control of inetd(8) (see below), but it con‐
16     sumes a process table entry when no one is playing.
17
18     The -p option changes the UDP port number used to rendezvous with the
19     player process and thus allows for private games of hunt.  This option
20     turns off the notification of players on the hunt-players mailing list.
21
22   INETD
23     To run huntd from inetd(8), you'll need to put the hunt service in
24     /etc/services:
25
26     hunt 26740/udp          # multi-player/multi-host mazewars
27     and add the following line to /etc/inetd.conf:
28           hunt dgram udp wait nobody /usr/sbin/huntd huntd
29     Do not use any of the command line options; if you want inetd(8) to start
30     up huntd on a private port, change the port listed for hunt in
31     /etc/services.
32

NETWORK RENDEZVOUS

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

SEE ALSO

41     talk(1), hunt(6), sendmail(8)
42

AUTHORS

44     Conrad Huang, Ken Arnold, and Greg Couch;
45     University of California, San Francisco, Computer Graphics Lab
46
47                                 April 4, 2001
Impressum