Skip to content

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.

muneeb50/Multithreaded-Online-Quiz-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded-Online-Quiz-System

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"

Instructions:

  1. First Run "Main Server"
  2. then run "Sub Servers"
  3. after running all of 3 sub servers finally run "Client"
  4. ENTER PROPER INPUT WITH CORRECT SPELLINGS..

Commands to compile:

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

Commands to run:

./main_server
./sub_server_1
./sub_server_2
./sub_server_3
./client

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages