Changes between Version 16 and Version 17 of GuiRpc
- Timestamp:
- May 30, 2008, 5:38:38 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GuiRpc
v16 v17 8 8 9 9 BOINC provides a C++ interface to these RPCs, consisting of the GUI_RPC class. The interface is in [source:trunk/boinc/lib/gui_rpc_client.h lib/gui_rpc_client.h], and the program [source:trunk/boinc/lib/boinc_cmd.C boinc_cmd.C] gives a usage example. All member functions return an integer error code. 10 It should be easyfairly easy to generate client interfaces in languages other than C++. GUI programs connect to the core client by opening a TCP socket at port 31416. They can then do repeated RPCs over this connection. Each reply message ends with the character \003.10 It should be fairly easy to generate client interfaces in languages other than C++. GUI programs connect to the core client by opening a TCP socket at port 31416. They can then do repeated RPCs over this connection. Each reply message ends with the character \003. 11 11 12 12 To create an RPC connection, call