More than one client connected to the server #184
-
Hello and thank you for this excellent project. So far it suited all my needs. I am developing an application whose main features are:
So far I manage to do what I just described but with only one client connected. As soon as I try to connect more than one client :
What am I doing wrong ? Why is my code unable to _Server.send() twice in a loop ?
Thanks in advance for any help you can give me. You can ask me more information if needed. Leor |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi again, I just found what the problem was. I come here to post the solution so that it can be useful to someone else. Just move the assignment row in the MemoryStream in the for each loop
Therefore, no more problems. Clients can connect and display the list of clients IP connected to the server. Leor |
Beta Was this translation helpful? Give feedback.
Hi again,
I just found what the problem was. I come here to post the solution so that it can be useful to someone else.
Just move the assignment row in the MemoryStream in the for each loop