Skip to content

RasmusUK/DISYS_Mini_Project_3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISYS_Mini_Project_3

How to run

Run servers

  • Open 1 to 90 terminal windows in DISYS_Mini_Project_3/Server/ and run the following command in each to run the servers:
go run .
  • You should open at least two to try and crash one of them by closing the terminal window or clicking Crtl + C on Windows.

Run clients

  • Open as many terminal windows in DISYS_Mini_Project_3/Client/ as you would like and type the following command in each to run the clients:
go run .

How to auction

  • To make a bid, simply type an integer and press enter.
  • To query the system in order to know the state of the auction, enter "r" and press enter.

Good to know

  • The action will start when the first bid is made.
  • The action will last 1 minute.
  • Make sure to start all the servers first as the clients will ping the servers and find all the available servers.
  • You cannot start a new auction. You must kill all the processes and run them again.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages