Skip to content

kc1212/tokio-p2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tokio-p2p

A toy project demonstrating how to build a peer-to-peer network using tokio. It has a bootstrapping mechanism for discovering initial peers but also does gossiping periodically to discover more peers. A broadcast function exist to send a message to all known peers.

Installing

cargo build

Running

cargo run -- -a 127.0.0.1:12345 -b hello

About

A toy peer-to-peer system written in tokio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages