Si tu veux faire un chat multi-client. Je pense que tu pourrais partir sur un serveur multi-threadé: un client=un thread.

Tu fais une classe main qui boucle à l'infini en attendant une connexion,...