Dear visitor, welcome to QtForum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Execute method on server application.
Hello.
I have been looking on Qt example: fortuneserver. FortuneServer is responding on incomingConnection event and returning randome QString. How to define my own public methos on server application? For example I would like to allow client application to call server method:
Qt Code:
Switch view
public QString GetCustomerLastName(const int& customerID);
public void SetCustomerLastName(const int& customerID, const QString& lastName);
Howto define those kind public methods on server and how to call them from client application?
Hi,
It's called RPC (remote procedure call) and
libqxt does that.