unix domain sockets

For the Compleat Fan
Locked
Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

unix domain sockets

Post 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?
WBR, Dmi

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Why can you not use standard AF_INET sockets?

Lutz

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post 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.
WBR, Dmi

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post 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! :-)
WBR, Dmi

Locked