Categorygithub.com/Grumlebob/PeerToPeer
modulepackage
0.0.0-20221111092854-27a42d3e61d9
Repository: https://github.com/grumlebob/peertopeer.git
Documentation: pkg.go.dev

# README

#How to run:

  1. Open 3 different terminals.
  2. Write in the first terminal: go run . 0
  3. Write in the second terminal: go run . 1
  4. Write in the third terminal: go run . 2
  5. After a random delay up to 5 seconds, all 3 nodes will attempt to enter the critical section
  6. If you want to request a client to the critical section, press Enter.
  7. If you want to see the robustness, spam enter in several terminals.

# Packages

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author