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,910 points
1,962 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,300 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
• 58,020 points
4,006 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
• 58,020 points
2,394 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
• 58,020 points
5,063 views
0 votes
2 answers
+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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
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,300 points
2,398 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,300 points
6,728 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP