Click here to Skip to main content
15,843,319 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to send back data through Python to C# through pipe[^]



Above the code i already asked one to one(client and server) communication

How about if i want to run multiple client with one server.

What I have tried:

with C#(multiple cleint) and (C# server) Which i am able to do but with python server i don't have idea what to do ?


Let me help looking for your response
Posted
Updated 11-Sep-22 22:08pm
Comments
Richard MacCutchan 12-Sep-22 4:44am    
Using sockets is a better solution for multiple clients.
HelpMewithCode 14-Sep-22 1:41am    
But i am working with pipe So Can possible it possible to give just Pseudo code
C# client(Multiple) And python one server
Richard MacCutchan 14-Sep-22 3:36am    
You already have the code. You just need to add control logic to handle multiple pipes in the server.

1 solution

You use multiple pipes: one per client.
A pipe has only two ends - one at the client, one at the server. If you could connect more than one client to a server via the same pipe (or vice versa) then it would not be able to tell who was talking to it as the messages would get mixed together.
 
Share this answer
 
Comments
HelpMewithCode 12-Sep-22 5:38am    
Its possible in python side also?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900