Re: Problems with my pipe

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

 



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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

  Powered by Linux