D-Bus and Bonjour service discovery

Havoc Pennington hp at redhat.com
Wed Nov 22 00:49:35 PST 2006


The trick is that the D-Bus "bus" is very much about a central daemon. 
In the setup you describe, which machine is the daemon running on?

The way I understand bonjour etc. it's more like each computer offers 
services, and other computers can find and connect to them. That's 
different from having a bus that spans multiple computers in some way.

You could of course offer a service via something like bonjour, where 
the service happened to use the dbus protocol. But this would not 
require writing any new IPC system or library, it would just be a 
particular application (like music sharing or whatever you were coding).

There are some other IPC systems that offer a "P2P swarm" kind of deal 
for a distributed bus, but this is very different from what dbus offers.

Havoc



More information about the dbus mailing list