I'm developing a game that includes a chat room for four people. All the programs must be the same, I don't want one server program and three clients.
Here's what it should do
- Someone creates a chat and invites three more there
- The chat starter will become the server, everyone else join it
- Everyone can send messages together
So, SocketServer and Socket classes? Can you guys help me building this? I need help to understand how to do this. I know how to do one server application and one client, but how I can mix them?