tcp transport for python binding ?
msg
msg at altern.org
Thu Oct 4 07:14:31 PDT 2007
Hi,
> Does the python binding provide a TCP transport?
I tried to use Tcp transport with python, and here is how I did it:
- copied /etc/dbus-1/session.conf to remote.conf
- changed:
<listen>tcp:host=localhost,port=1234</listen>
- busAddress="tcp:host="+host+",port="+port
busConnection =
dbus.bus.BusConnection.__new__(dbus.bus.BusConnection, busAddress)
self._service_name = dbus.service.BusName(SERVICE, bus = bus)
ExportedGObject.__init__(self, self._service_name, self._dbus_path)
It worked for me but only the same machine! Please tell me if you're
able to connect from another computer (and from another account on the
same machine) or if I did something wrong.
(see http://lists.freedesktop.org/archives/dbus/2007-September/008617.html)
Emmanuel
More information about the dbus
mailing list