Communication between C++ server and Python app

Chris Angelico rosuav at gmail.com
Sat Apr 28 21:42:54 EDT 2012


On Sun, Apr 29, 2012 at 10:45 AM, kenk <marcin.maksymiuk at googlemail.com> 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 ?

Personally, I would recommend a TCP socket, because that allows the
flexibility of splitting across multiple computers. But for
efficiency, you may want to consider a Unix socket too.

ChrisA



More information about the Python-list mailing list