Computer Networks Project - Multi-threaded Online Quiz System, developed in C language based on TCP protocol, including development of one Main Server, three Sub-servers and unlimited clients.
Before Compiling this code, Please read the Description file carefully that is attached!!!!
Note: please make sure these ports are free before starting 2000, 2001, 2010, 2020, 2030. Also, if doesn't compile try with "gcc c11"
- First Run "Main Server"
- then run "Sub Servers"
- after running all of 3 sub servers finally run "Client"
- ENTER PROPER INPUT WITH CORRECT SPELLINGS..
gcc -std=c11 main_server.c -o main_server
gcc -std=c11 sub_server_1.c -o sub_server_1
gcc -std=c11 sub_server_2.c -o sub_server_2
gcc -std=c11 sub_server_3.c -o sub_server_3
gcc -std=c11 client.c -o client
./main_server
./sub_server_1
./sub_server_2
./sub_server_3
./client