0

I need to call my python function from C++ code. A XML-RPC server is running on the python server so do we have some way to call the python server function through C++ code using XML-RPC server call

3
  • How about let me google that for you Commented Jul 24, 2013 at 10:16
  • 1
    @Shark He wanted to call it from a c++ client. Same still applies though... Commented Jul 24, 2013 at 10:57
  • @JosephPla I understand, and - exactly my point ;) Commented Jul 26, 2013 at 14:33

1 Answer 1

1

XML RPC is platform independent so it doesn't matter what the server is written in. The following is a link to a small library for formatting and sending XML RPC messages to your server.

Here you go: XMLRPC For C and C++

Or this one: ulxmlrpcpp

There are many more implementations for C and C++. A quick google search could have gotten you that answer though ;)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.