Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

302 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PTP ambitious project

Pet project to study P2P concepts.

Features

  • Some data structures (list, hash, trees), non-thread-safe.
  • Non-blocking IO event loop.
  • Kademlia DHT.
  • Bencode de-/serialization.

Build

Install meson and ninja. Then

mkdir build && cd build
meson
meson compile

Usage

kldload mqueuefs on FreeBSD.

src/ptp -h                    # print help
src/ptp -a 127.0.0.1 -p 2222  # start binding to 127.0.0.1:2222

Acknowledgements

Algorithms

P2P

Roadmap

Releases

Packages

Contributors

Languages