Link to ex13 google drive folder: Ex13 Google Drive
The last exercise in 'Advanced Programming' course first semester!
This time we are going build a chat server, that manages clients and messages that clients send each other.
Ex13 will require us to use OOP, Data Structures, Threads, Synchronization and Sockets.
In this exercise, you will implement a server, and use a client app that was already built for you.
The purpose of this exercise is to to build a system that uses most of what we learnt throughout the semester.
Please note!
To test your exercise, please use the tests found in this repo:
https://gitlab.com/tomeriq/magshimimex13tests
Contains files and information necessary to run a demo for this exercise.
This demo is a good way to see what is the expected result, and how it should look after you are done.
Files that contains static functions you can use in your exercise, make sure to use them, it will save you time!
A "packet capture" (.pcap) file, that contains an example of a simple client-server communication.
Use WireShark to open this file and see the message format and conversation flow you are expected to support.
Pipeline file for auto-tests
Files to submit:
Submit all the files required to run the server you implemented.
Remember to include a main.cpp file.
Remember to also submit the MagshiChat.exe file with the config.txt file you use to run the client side.
In this link
you can find the code files for client side application that connects to our server.
You can use this code if you want to change or improve the client side code, this is a bonus!