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, 2019 in Python by ana1504.k
• 7,890 points
576 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, 2019 by SDeb
• 13,250 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
• 57,530 points
1,344 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
• 57,530 points
647 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
• 57,530 points
1,235 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, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 944 views
0 votes
0 answers
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,250 points
504 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, 2019 in Python by SDeb
• 13,250 points
785 views