You are not logged in.


Thursday, July 21st 2011, 2:43pm

Execute method on server application.

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

  1. public QString GetCustomerLastName(const int& customerID);

  2. 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?


Friday, July 22nd 2011, 1:47am


It's called RPC (remote procedure call) and libqxt does that.

Similar threads

Used tags

client, server