1 .\" $NetBSD: huntd.6,v 1.12 2014/03/30 01:44:37 dholland Exp $
5 .\" Copyright (c) 1983-2003, Regents of the University of California.
6 .\" All rights reserved.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions are
12 .\" + Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" + Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
17 .\" + Neither the name of the University of California, San Francisco nor
18 .\" the names of its contributors may be used to endorse or promote
19 .\" products derived from this software without specific prior written
22 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
23 .\" IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
25 .\" PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 .\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 .Nd hunt daemon, back-end for hunt game
46 controls the multi-player
54 forever (server mode).
55 This is similar to running it under the control of
57 (see below), but it consumes a process table entry when no one is playing.
61 option can be either a pathname, in which case a local socket by that
62 name is used for the game, or a number, in which case it selects an
63 alternate port number for the internet socket used for the game.
64 This allows for private games of hunt.
74 .\".Pa /etc/services :
76 .\"hunt 26740/udp # multi-player/multi-host mazewars
79 uncomment the following line in
81 .Bd -literal -offset indent -compact
82 hunt dgram udp wait nobody /usr/games/huntd huntd
84 Do not use any of the command line options; if you want
88 on a private port, change the port listed for
92 .Sh NETWORK RENDEZVOUS
95 starts up, it broadcasts on the local area net
96 (using the broadcast address for each interface) to find a
101 hears the request, it sends back the port number for the
103 process to connect to.
108 on the local machine and tries to rendezvous with it.
113 Conrad Huang, Ken Arnold, and Greg Couch;
115 University of California, San Francisco, Computer Graphics Lab