Colin Walters (walters@verbum.org) said:
However, I'd still need a dir to place my UNIX socket.
Algorithm is this:
- Attempt to grab the org.freedesktop.PulseAudio name, if successful
goto 2, else goto 3 2) Create the unix socket in a new directory created with mkdtemp, drop to main loop answering requests 3) Call the method org.freedesktop.PulseAudio.GetUnixSocket on the existing instance, which returns a string, goto 4 4) Connect to the socket address returned by invocation of that method
Wait, why can't this socket be abstract? Why do you need a dir?
Bill