Hi, this will be a very noob question, so I'm sorry for that. But I'm having doubts about a simple game server on Linux (which, by the way, I'm new to).
Consider a small (less than a thousand clients) game server for a simple round-based strategical game, where clients can connect to a main room, create a game room and then start the game when all the partecipats are ready.
The server has a list of connected clients with some details, such as name, ID, status, etc. The name for the client is asked when the client connects, so that I'll be able to implement a login/register mechanism in the future, but for now I'm not even checking for duplicate names and there is no password whatsoever.
My doubt is whether to use processes or threads. I mean, for a game I'm pretty sure that a separate process fits best, since it'll be a completely separate thing from the main server. But how to handle the main room? (you can think of it as a main chat room, where instead of text messages, clients can only send few commands)
Thanks for any help or advice or links.