Subject: Re: inetd and AF_UNIX services
To: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
From: Eric Haszlakiewicz <erh@jodi.nimenees.com>
List: tech-net
Date: 02/20/2004 09:17:11
On Fri, Feb 20, 2004 at 12:16:25PM +0100, Ignatios Souvatzis wrote:
> On Fri, Feb 20, 2004 at 05:06:21PM +0600, Ian Zagorskih wrote:
> >  On the other hand, I would like to access 
> > inetd's service with AF_UNIX socket. It it possibly ?
> Seriously: it would not be trivial... as inetd maps a triple to a program
> call, while you will only map a single pathname to a program call, so the
> parser would have to support two different formats.
	actually, it is trivial. inetd already supports unix domain sockets.
Just use a line similar to this:
/tmp/foo        dgram   unix    nowait  root    /path/to/prog prog -args

eric