Problems with my pipe

Wally Winchester wally_winchester at fastmail.fm
Wed Feb 8 13:44:08 UTC 2006


On Wed, 08 Feb 2006 13:08:22 +0000, "Andy Green" <andy at warmcat.com>
said:
> Wally Winchester wrote:
> >>>What do you mean?
> >>
> >>Maybe a UNIX Socket will meet the socket transport semantics better than
> >>a FIFO.  They also appear as files.
> >>
> >>When I am using Echo into that fifo, echo is just treating it like a
> >>file.  But logger opens the given "file" as a socket it seems.
> 
> > Great! How can I create a socket?
> 
> As I understand it
> 
> fd=socket(PF_UNIX, SOCK_STREAM, 0);
> 
> I don't know how syslog-ng can accept to be told to listen on such a
> socket.
> 
> netcat
> 
> can do the job of Echo in such a way (see -U switch)
> 
> There exists a
> 
> mksock
> 
> from the MAKEDEV package, it has no manpage, I am afriad that's as much
> as I know.
> 
> -Andy

I think it would be easier to call Sys::Syslog rather than use logger.
Ugh.

Thanks very much for your help! :)
-- 
  Wally Winchester
  wally_winchester at fastmail.fm

-- 
http://www.fastmail.fm - Same, same, but different






More information about the fedora-list mailing list