Skip to content

laugepetersen/peer2peer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peer2peer

How to start?

Run following command in each terminal

go run main.go OWNPORT PEER1 PEER2 ...

Hit enter to ask for critical section. Critical section is held for 5 seconds.

Example

Run each command in a seperate terminal

go run main.go 5000 5001 5002
go run main.go 5001 5000 5002
go run main.go 5002 5000 5001
enter
enter
enter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages