Page 1 of 1

unix domain sockets

Posted: Wed Jul 20, 2005 10:41 pm
by Dmi
Lutz!
What about net-listen for af_unix - file-based sockets?
Is there a way to use AF_UNIX domain in net-* functions?
I need to play with syslog-like technics...

Probably I could reproduce a copy of nl-sock.c but for AF_UNIX domain.
But perhaps there is something already?

Posted: Thu Jul 21, 2005 12:34 pm
by Lutz
Why can you not use standard AF_INET sockets?

Lutz

Posted: Thu Jul 21, 2005 12:47 pm
by Dmi
I trying to construct log engine, that will be listen and distribute events through several sockets, and will distinguish rights of it's clients based on their unix permissions of writing to socket files.

Posted: Thu Jul 21, 2005 1:42 pm
by Dmi
but...
I got idea, that, probably, request to identd will be sufficient replacement...
I think now, I'll go that way - until development it looks more simple.

Thanks! :-)