Corrigé du TP Noté 2016 : chatrooms

2. Partie Client (8pts)

2.1 Connexion au serveur et choix d'une chatroom (4pts)

Correction : ChatClientHandShake.

2.2 Connexion au point de tchat et tchat (4pts)

Correction :

  1. ChatRoomClient quasi identique à ChatClient du tchat
  2. ChatRoomClientMain handshake suivi du lancement de la ChatRoomClient
  3. 3. Partie Serveur (12pts)

    3.1. Handshake coté serveur (4pts)

    Correction : ChatRoomServerHandShake.

    3.2. Serveur d'une chatroom (4pts)

    Correction : ChatRoomServer.

    3.3. Gestion de l'ensemble des chatrooms (4pts)

    Correction : ChatRoomServerMain.