IPC between Python and C #

I want to transfer data between Python and a C # application on Windows (I want the channel to be bi-directional) Actually I want to transfer a structure containing data about a network packet that I captured using C # (SharpPcap) to a Python application and then send back the modified package to the C # program. What do you suggest? (Rather, this is a quick method) My searches so far have shown that I can use these technologies, but I do not know that:

  • JSON-RPC
  • Use WCF (run a project under IronPython using Ironclad)
  • WCF (use Python for .NET)
+6
python c # rpc ipc bidirectional
source share
2 answers

Why not use a simple socket connection, or if you want, you can run a simple HTTP server and / or run json-rpc on it.

+2
source share

Use JSON-RPC because the experience you gain will be more practical. JSON is widely used in web applications written in all tens of the most popular languages.

+2
source share

All Articles