Hi everyone, i developing a kind of "limited chat room" whereas my machine is the server and in my network pair of clients join to chat. kind of stupid.... But what I want to know is your opinion on how to design the server.
I think that creating a thread for each client is bad practice but on the other side I think that's the best way of making it work. Instead I can create a thread for each room and use select to unblock the server from I/O with the clients.
waitting for your opinion...