Python Forum
Good Example for bi-directional Communication between Python and Windows (C#)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good Example for bi-directional Communication between Python and Windows (C#)
#1
Hi,

Does anyone know where I can find a good example of duplex pipe communication between a process running Python and another running .NET (C#)? I am trying to do this with win32pipe. The documentation on this leaves much to be desired.

I found this example:

https://github.com/PeiSeng/Named_Pipe_Communication

However, it only does a one-way operation, sending data from the server to the client.

Can anyone show me how to modify (augment) the code so that an object is sent from the client to the server, which does something to modify the object, then send it back to the client? Do I need to create another pipe to send data from the client to the server?

Any assistance with this would be appreciated.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python: Regex is not good for re.search (AttributeError: 'NoneType' object has no att Melcu54 9 1,470 Jun-28-2023, 11:13 AM
Last Post: Melcu54
  Good practices with Python if Pedroski55 1 1,230 Nov-07-2021, 07:48 AM
Last Post: Gribouillis
  packet radio communication EmpireAndrew 1 2,180 Nov-01-2019, 06:35 PM
Last Post: micseydel
  WiFi communication Milad 2 2,468 Sep-07-2019, 11:53 AM
Last Post: ndc85430
  Simple inter-process communication: Switching from Perl to Python Pappy 1 2,898 May-10-2019, 12:29 AM
Last Post: Pappy
  Serial communication with raspberry pi 3B and Xbee kj7 0 2,170 Mar-25-2019, 03:39 AM
Last Post: kj7
  Serial Communication Error AlphyOuseph 1 3,534 Feb-07-2019, 07:16 AM
Last Post: DeaD_EyE
  pi3 serial communication tony1812 0 2,150 Sep-23-2018, 10:29 PM
Last Post: tony1812
  python-osc communication fauveboy 10 10,202 Jul-23-2018, 07:49 PM
Last Post: buran
  Serial communication with a board Bokka 2 5,344 Dec-07-2017, 07:34 AM
Last Post: Bokka

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020