<html><body>
<p><font size="2" face="Arial">Please excuse my poor English.</font><br>
<font size="2" face="Arial">It could be better to paste the difference of source code, to clarify what I am talking about.</font><br>
<br>
<br>
<br>
<font size="2" face="Arial">--- dbus-glib-0.84/dbus/dbus-gobject.c 2010-01-28 02:56:48.000000000 +0800</font><br>
<font size="2" face="Arial">+++ as/objs/dbus-glib-0.84/dbus/dbus-gobject.c 2010-04-12 10:07:06.000000000 +0800</font><br>
<font size="2" face="Arial">@@ -2175,7 +2175,7 @@ dbus_g_connection_register_g_object (DBu</font><br>
<font size="2" face="Arial">       o = iter->data;</font><br>
<font size="2" face="Arial"> </font><br>
<font size="2" face="Arial">       /* Silently ignore duplicate registrations */</font><br>
<font size="2" face="Arial">-      if (strcmp (o->object_path, at_path) == 0)</font><br>
<font size="2" face="Arial">+      if (strcmp (o->object_path, at_path) == 0 && (o->connection == connection))</font><br>
<font size="2" face="Arial">         return;</font><br>
<font size="2" face="Arial">     }</font><br>
<font size="2" face="Arial"> </font><br>
<br>
<font size="2" face="Arial"><br>
</font><br>
<br>
<font size="2" face="Arial">2010/4/12 Lin YT <</font><a href="mailto:atonelin@msn.com" target="_blank"><u><font size="2" color="#0000FF" face="Arial">atonelin@msn.com</font></u></a><font size="2" face="Arial">></font>
<ul><font size="2" face="Arial">My purpose is to provide a service program to serve many client programs via peer-to-peer connections.<br>
<br>
However, dbus-glib binding library seems not allow duplicate registration of a object with a same path.<br>
(Traced into dbus_g_connection_register_g_object(), that do ignore duplicate registration just only by comparison with path name.)<br>
<br>
Is it possible to allow setup many peer-to-peer connections to a single object?<br>
Will it be OK, if I add a more criterion for duplicate registration by checking whether or not with identical connections ?<br>
<br>
<br>
Please tell me if I have wrong concept about relationship of dbus connections and object path.<br>
Thanks very much.<br>
</font></ul>
</body></html>