HUNTD(6)

πŸŽ€ huntd(6) Β· NAME πŸŽ€

okay bestie, meet huntd β€” the hunt daemon, aka the back-end for the hunt game. It’s giving server-side main character energy, and yes, the manual name is HUNTD(6) iykyk. 🫢


🌸 SYNOPSIS 🌸

huntd [-s] [-p port]

✨ DESCRIPTION ✨

huntd controls the multi-player hunt(6) game. When it starts up, it tries to notify all members of the hunt-players mailing list (see sendmail(8)) by faking a talk(1) request from user β€œHunt Game”. Yes bestie, it’s out here pretending to be β€œHunt Game” β€” iconic behavior, lowkey. πŸ’…

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. So it’s forever-mode with a tiny price: one process table entry just vibing there. 😭

The -p option changes the UDP port number used to rendezvous with the player process and thus allows for private games of hunt. This option turns off the notification of players on the hunt-players mailing list. So private port = no mailing-list ping, periodt. ✨


🧚 INETD 🧚

To run huntd from inetd(8), you’ll need to put the hunt service in /etc/services:

hunt 26740/udp          # multi-player/multi-host mazewars

and add the following line to /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. No cap, that’s the whole meet-cute. πŸ’–


πŸ’œ SEE ALSO πŸ’œ


πŸ‘‘ AUTHORS πŸ‘‘

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


✨ That’s the whole page, bestie! Last touched April 4, 2001 Β· HUNTD(6) ✨
πŸ“¦ where this page comes from