|
|
1.1 root 1: .\" Hunt
2: .\" Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
3: .\" San Francisco, California
4: .\"
5: .\" Copyright (c) 1985 Regents of the University of California.
6: .\" All rights reserved. The Berkeley software License Agreement
7: .\" specifies the terms and conditions for redistribution.
8: .\"
9: .TH HUNTD 6 "21 August 1986"
10: .UC 4
11: .SH NAME
12: huntd \- hunt daemon, back-end for hunt game
13: .SH SYNOPSIS
14: \fB/usr/games/lib/huntd\fP [ \fB\-s\fP ] [ \fB\-p\fP port ]
15: .SH DESCRIPTION
16: .PP
17: .I huntd
18: controls the multi-player
19: .IR hunt (6)
20: game.
21: When it starts up, it tries to notify all members of the
22: .I hunt-players
23: mailing list (see
24: .IR sendmail (8))
25: by faking a
26: .IR talk (1)
27: request from user ``Hunt Game''.
28: .PP
29: The
30: .B \-s
31: option is for running
32: .I huntd
33: forever (server mode).
34: This is similar to running it under the control of
35: .I inetd
36: (see below),
37: but it consumes a process table entry when no one is playing.
38: .PP
39: The
40: .B \-p
41: option changes the udp port number used to rendezvous with the player
42: process and thus allows for private games of hunt.
43: This option turns off the notification of players on the
44: .I hunt-players
45: mailing list.
46: .SH INETD
47: .PP
48: To run
49: .I huntd
50: from
51: .IR inetd ,
52: you'll need to put the
53: .I hunt
54: service in
55: .BR /etc/services :
56: .IP
57: hunt 26740/udp # multi-player/multi-host mazewars
58: .LP
59: and add a line in
60: .BR /etc/inetd.conf :
61: .IP
62: hunt dgram udp wait nobody /usr/games/lib/huntd HUNT
63: .LP
64: except for Suns which use
65: .BR /etc/servers :
66: .IP
67: hunt udp /usr/games/lib/huntd
68: .LP
69: Do not use any of the command line options \(em if you want
70: .I inetd
71: to start up
72: .I huntd
73: on a private port, change the port listed in
74: .BR /etc/services .
75: .SH "NETWORK RENDEZVOUS"
76: When
77: .IR hunt (6)
78: starts up, it broadcasts on the local area net
79: (using the broadcast address for each interface) to find a
80: .I hunt
81: game in progress.
82: If a
83: .I huntd
84: hears the request, it sends back the port number for the
85: .I hunt
86: process to connect to.
87: Otherwise, the
88: .I hunt
89: process starts up a
90: .I huntd
91: on the local machine and trys to rendezvous with it.
92: .SH "SEE ALSO"
93: hunt(6), talk(1), sendmail(8)
94: .SH AUTHORS
95: Conrad Huang, Ken Arnold, and Greg Couch;
96: .br
97: University of California, San Francisco, Computer Graphics Lab
98: .\"SH BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.