This is a programming project for the course Java Network Programming in the first year of my master's degree. You are free to try this chatting application. You can DOWNLOAD the JAR package for SERVER and CLIENT here.
You would learn how to launch them at the instruction page. The instruction page includes some screenshots of this application.
"Matou" means male cat in French, and the French word for "cat" is "chat". So here comes the name of this chatting application.
This chatting application includes three parts: protocoles, the server and the client. To ensure the safety during the communication, all the data must follow the protocole. At first time, my partner and me design the communication protocol for each situation like below.
Both server and client uses TCP non blocking sockets. The diagram below shows how the server works.
For more information about this application, check the instruction page.