[Interest] QtDBus multiple peer-to-peer connections
bogdan.barliga at nokia.com
bogdan.barliga at nokia.com
Tue Nov 22 10:05:16 CET 2011
Hello,
I am trying to provide a service to many clients via peer-to-peer connection.
I am deriving the server from QDBusServer. The client knows the server's address and successfully connects to it. The server receives the connection request and registers the object implementing the interface to the connection.
When a second client connects, the first client "loses" the connection. All calls will timeout, while the second client uses the server just fine. If another client would connect, then it would be able to use the server, but now the second client will lose the connection, and so on.
The problem is that there seems to be no way to handle multiple connections or at least inform the client that it needs to re-connect in order to use the service.
I know that QDBusServer is quite a recent addition to Qt. Am I using it the wrong way? Is it a bug?
Regards,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20111122/70b15517/attachment.html>
More information about the Interest
mailing list