Skip to content

worldii/StockServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrent Stock Server

There are two ways to execute the program.

  1. project1 : Event-driven Approach
  2. project2 : Thread-Based Approach

This program contains stockclient.c stockserver.c , multiclient.c

StockServer.c

Server can deal with several clients concurrently by Event-driven approach and Process-based approach

StockClient.c

Each Client can sell and buy stocks from Stock Server

Command

  1. show
  2. buy [stockID] [ # of stock]
  3. sell [stockID] [# of stock]
  4. exit

multiClient.c

You can create the number of client that you want, and each client execute any command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published