Problems with my pipe
Andy Green
andy at warmcat.com
Wed Feb 8 13:08:22 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060208/477b9c75/attachment-0001.bin>
More information about the fedora-list
mailing list