Click here to Skip to main content
15,849,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to Design Socket Server with Multiple Socket Client, in which once the Client gets connected to Server, server should start sending data to client and client must receive the data, and when Client gets disconnected server should stop sending data to that client. Can anyone suggest the method to achieve the above task in C#.
Posted

1 solution

Well your implementation is pretty straightforward. The possibly not-obvious point is how can the server detect that client has disconnected. However, you may find this is a frequent question on the web[^].
 
Share this answer
 

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