Communication between C++ server and Python app
Jean-Michel Pichavant
jeanmichel at sequans.com
Wed May 9 08:47:57 EDT 2012
kenk wrote:
> Hi,
>
> I've got a server process written in C++ running on Unix machine.
> On the same box I'd like to run multiple Python scripts that will
> communicate with this server.
>
> Can you please suggest what would be best was to achieve this ?
>
> Kind regards and thanks in advance!
> M.
>
xmlrpc shoudl do it.
http://en.wikipedia.org/wiki/XML-RPC
There's is a client/server python module fort that, same for C++. Your
python client will be able to call C++ server procedures.
It could be slighlty overkill but that get rid of the tedious socket
programming.
JM
More information about the Python-list
mailing list