IPC between Python and C#

0 votes
I am trying to pass data between a Python and a C# application in Windows and I want the channel to be bi-directional. I wanna pass a struct containing data about a network packet that I've captured with C# to the Python app and then send back a modified packet to the C# program. What should I do? Also, which of these technologies should I use:

JSON-RPC
Use WCF (run the project under IronPython using Ironclad)
WCF (use Python for .NET)
Mar 25 in Python by ana1504.k
• 7,870 points
104 views

1 answer to this question.

0 votes
You can use a simple socket communication, or if you wish you can start a simple http server, and/or do json-rpc over it. I hope this helps!
answered Mar 25 by SDeb
• 13,160 points

Related Questions In Python

0 votes
1 answer

What is the difference between Python and IPython?

There are few differences between Python and ...READ MORE

answered Jul 26, 2018 in Python by Priyaj
• 56,200 points
265 views
+1 vote
1 answer

What is the difference between range and xrange functions in Python 2.X?

xrange only stores the range params and ...READ MORE

answered Aug 22, 2018 in Python by Priyaj
• 56,200 points
170 views
+1 vote
1 answer

What's the difference between eval, exec, and compile in Python?

exec is not an expression: a statement ...READ MORE

answered Aug 28, 2018 in Python by Priyaj
• 56,200 points
440 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 168 views
0 votes
1 answer

Difference between module and Package in Python

A module is basically a single file ...READ MORE

answered Nov 13, 2018 in Python by SDeb
• 13,160 points
106 views
0 votes
1 answer

Difference between Python float and numpy float32

Python's standard float type is a C ...READ MORE

answered Mar 4 in Python by SDeb
• 13,160 points
92 views