Re: Problems with my pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 08 Feb 2006 13:08:22 +0000, "Andy Green" <andy@xxxxxxxxxxx>
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@xxxxxxxxxxx

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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux