[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: XMLRPC - C Client / Python Server
From:       Michael Torrie <torriem () gmail ! com>
Date:       2008-09-30 19:58:49
Message-ID: 48E284F9.60003 () gmail ! com
[Download RAW message or body]

care02@gmail.com wrote:
> I have implemented a simple Python XMLRPC server and need to call it
> from a C/C++ client. What is the simplest way to do this? I need to
> pass numerical arrays from C/C++ to Python.

Which do you need, C or C++?  They are two different languages with
different possibilities for libraries.

As the other poster mentioned, xmlrpc-c is a good one for C, and also
comes with bindings for C++ which I have used.  Getting xmlrpc-c
compiled can be a real challenge though.  I recommend you use binary
packages for your distribution of Linux.  If you need it on Win32, then
you'll have to spend a day or two figuring out how to build it on
Windows.  I eventually got the both the C and C++ client library built
in Mingw with libcurl as the transport.  But it was a real pain.

--
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic