mini-inetd man page
mini-inetd — small TCP/IP connection dispatcher
mini-inetd [-d] [-m maxconnections] [localaddr:]port program [argv0 argv1 ...]
mini-inetd listens for TCP/IP connections on port. For each connection, program is started with standard input and standard output connected to the socket. If localaddr is given, mini-inetd only listens for connections on the interface specified by that hostname or IP address, otherwise, it listens to all IP interfaces on the machine.
- -m maxconnections
Exit after maxconnections connections has been handled.
tcpconnect(1), tcplisten(1), inetd(1m).
The names of the options are not yet finalized, and may change at a future release.