How to create a DBus server
jamiemcc at blueyonder.co.uk
Sat Jan 21 04:04:24 PST 2006
John (J5) Palmieri wrote:
> On Wed, 2006-01-18 at 11:59 +0100, Jakub Piotr Cłapa wrote:
>>>i found some codes like these:
>>>server = dbus_server_listen( "unix:tmpdir=/tmp", &error );
>>> 0, 0 );
>>>but i don't know what's the next thing to do?
>>>How to use the server addree?
>>>How to connect the server?
>>>who can get me a full example(c/s)? or a document.
>>That's probably not really supported (it could be, but allowing p2p
>>communication is not the main goal). DBus is meant to be used with a
>>shared server (called message bus) which can be global to a machine or
>>local to the user's session.
> It is supported. HAL uses p2p to avoid spamming the bus. However it is
> a bit more complicated than using the bus to communicate. Tang, can you
> describe how you want to use D-Bus?
Just a quick question on DbusServer. Can it be used for remote machine
access via tcp/ip? Or is tcp/ip support disabled for security reasons?
Mr Jamie McCracken
More information about the dbus