Skip to content

linzwatt/INB365-CAB403-Distributed-Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Communication

INB365 - Systems Programming - Queensland University of Technology

Distributed Communication - Assignment 2 - 2014 (Server/Client & Producer/Consumer Example)

Created By - Lindsay Watt

Dependancies required to compile and run the Server/Client Dietician Program:
Server.c
Client.c
assign2lib.c
assign2.h
Makefile
calories.csv

To compile, run 'make && make clean' command in the dependancy directory.

To run the Dietician Program, the usage is:

"./Server " - port is optional, defaults to 12345

Once the Server is running, up to 10 clients at a time can connect.

To run a Client:

"./Client "

if more than 10 clients attempt to connect, they will have to wait in a queue until a thread from the thread pool is free.

To close a client, type 'q' followed by

To close the server, press Ctrl+C, the server will end all threads, free memory and save any additions to the csv file.

About

INB365 - Systems Programming - QUT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published