Symbian Client-Server Architecture
-
Hi all!
I need to port existing Symbian C++ project which used "Client-Server Framework":http://www.developer.nokia.com/Community/Wiki/Fundamentals_of_Symbian_C++/Client-Server_Framework to Qt. As I expected a server side will be a pure Qt executable and UI will be on Qt/QML. But what is the best way to communicate between server exe and client exe? Symbian common practice it's using "Client-Server Framework":http://www.developer.nokia.com/Community/Wiki/Fundamentals_of_Symbian_C++/Client-Server_Framework
Does Qt have something similar? -
In Qt, you have different options:
you can use "DBus":http://qt-project.org/doc/qt-4.8/qtdbus.html (if it is available on symbian, I don't know that)
you can use TCP/IP (QSockets)
also have a look at the "IPC examples":http://qt-project.org/doc/qt-4.8/examples-ipc.html and the "Network examples":http://qt-project.org/doc/qt-4.8/examples-network.html
-
Thanks for reply. But Symbian doesn't have a DBus and building a network-based communications instead of using a direct calls isn't a best choice I think. Shared Memory looks good on the first sight, but isn't clear how build a command interface between client-server in this case.