HELP with my client/server chat program.
I created a client/server chat program in C#. I have it to where the server will accept multiple clients using threads and the clients can chat amongst each other. The problem however, is that when a client sends a message, all clients receive it. What I want to do is create groups to where the clients in that group will only receive messages from other clients in that same group rather than broadcast it to all clients. Can someone please give me some suggestions? thanks.