📄 huntd.6
字号:
.\" Hunt.\" Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold.\" San Francisco, California.\".\" Copyright (c) 1985 Regents of the University of California..\" All rights reserved. The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".TH HUNTD 6 "21 August 1986".UC 4.SH NAMEhuntd \- hunt daemon, back-end for hunt game.SH SYNOPSIS\fB/usr/games/lib/huntd\fP [ \fB\-s\fP ] [ \fB\-p\fP port ].SH DESCRIPTION.PP.I huntdcontrols the multi-player.IR hunt (6)game.When it starts up, it tries to notify all members of the.I hunt-playersmailing list (see.IR sendmail (8))by faking a.IR talk (1)request from user ``Hunt Game''..PPThe.B \-soption is for running.I huntdforever (server mode).This is similar to running it under the control of.I inetd(see below),but it consumes a process table entry when no one is playing..PPThe.B \-poption changes the udp port number used to rendezvous with the playerprocess and thus allows for private games of hunt.This option turns off the notification of players on the.I hunt-playersmailing list..SH INETD.PPTo run.I huntdfrom.IR inetd ,you'll need to put the.I huntservice in.BR /etc/services :.IPhunt 26740/udp # multi-player/multi-host mazewars.LPand add a line in.BR /etc/inetd.conf :.IPhunt dgram udp wait nobody /usr/games/lib/huntd HUNT.LPexcept for Suns which use.BR /etc/servers :.IPhunt udp /usr/games/lib/huntd.LPDo not use any of the command line options \(em if you want.I inetdto start up.I huntdon a private port, change the port listed in.BR /etc/services ..SH "NETWORK RENDEZVOUS"When.IR hunt (6)starts up, it broadcasts on the local area net(using the broadcast address for each interface) to find a.I huntgame in progress.If a.I huntdhears the request, it sends back the port number for the.I huntprocess to connect to.Otherwise, the.I huntprocess starts up a.I huntdon the local machine and trys to rendezvous with it..SH "SEE ALSO"hunt(6), talk(1), sendmail(8).SH AUTHORSConrad Huang, Ken Arnold, and Greg Couch;.brUniversity of California, San Francisco, Computer Graphics Lab.\"SH BUGS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -