Skip to content

mcadriel/dmnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

dmnet

P2P protocol implemented in Golang

Quick Start

  1. Clone the repo
git clone https://github.com/macadrich/dmnet.git
cd dmnet
  1. Install Go dependencies
dep ensure
  1. Execute command
  • server
go run cli/main.go -mode=server -addr=0.0.0.0
  • client1
go run cli/main.go -mode=client -addr=0.0.0.0:9001
// random port will generate for client1
// e.g listening on [::]:44246
  • client2 connect to client1
go run cli/main.go -mode=client -addr=0.0.0.0:44246
// random port will generate for client2
// e.g listening on [::]:41007

About

P2P using tcp protocol

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages