Using debug-pipe connections in real apps

Nathan Lutchansky
Sat, 15 Nov 2003 16:09:54 -0500

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I'm writing a server app that uses DBus for IPC, and I need to be able to
create DBus connections between the supervisor process and the forked
worker processes.  Right now I'm doing this by creating a DBusServer with
a UNIX socket for the supervisor and having each worker open a
DBusConnection to it, but it would make more sense and be more secure to
create "connection pairs" with sockets that are only created internally.

I see that DBus uses "debug-pipe" connetions for build tests, which are
created using socketpair.  This is exactly what I'd like to use in my app,
but it seems limited to DBus internal debugging.  Could this type of
connection be promoted to a fully-supported DBus feature?  -Nathan

*** Help filter spam!  PGP-sign your email.
*** Expand your PGP Web of Trust with

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.7 (GNU/Linux)