<div dir="ltr">If you are using the reference implementation of DBus for a dbus-daemon you also need to patch the daemon to permit anonymous connections.<br><br>There was a patch posted a little while back on this list. If you dig around in the archives you'll find it.<br>
I don't have the source code with me at the moment otherwise I'd post it.<br><br>It works great for low-bandwidth API based RPC over the network. Security considerations aside of course.<br><br>G.P.<br><br><div class="gmail_quote">
On Sun, Sep 14, 2008 at 4:24 PM, Avery Pennarun <span dir="ltr"><<a href="mailto:apenwarr@gmail.com">apenwarr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sun, Sep 14, 2008 at 7:03 PM, KHOA NGUYEN <<a href="mailto:qa_tridang@hotmail.com">qa_tridang@hotmail.com</a>> wrote:<br>
> I do not find any documentation ... about this interface Dbus-daemon / tcp<br>
> socket.<br>
> Do you know where I can find some doc. / sample codes to do it ?<br>
> Best regards.<br>
<br>
</div>Yeah, the documentation isn't obvious. Look in "man dbus-daemon" for<br>
the <listen> section. More specifically, take your<br>
/etc/dbus-1/whatever.conf and change the <listen> line from something<br>
like this:<br>
<br>
<listen>unix:tmpdir=/tmp</listen><br>
<br>
to something like this:<br>
<br>
<listen>tcp:port=1234</listen><br>
<br>
Apparently you can have more than one <listen> section and it'll<br>
listen on all of them, but I've never tried it.<br>
<div><div></div><div class="Wj3C7c"><br>
Have fun,<br>
<br>
Avery<br>
_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
</div></div></blockquote></div><br></div>