Connect is a C++ based implementation of Chord P2P DHT protocol.
Connect is a terminal application which can be used for file sharing over the internet.
Client Spec-
- Port - 5000
- IP - Currently manual input (but should be automatically detected, IPv4)
- Base Directory - Automatic (if doesn't exist create - ~/connect_files)
Interface-
- Search - search "title" , search for a file
- Push - push "location" , share a file
- Remove - remove "title" , remove a uploaded file
- Exit - exit
- Pull - pull "title" , download a file with full name title
- Show - show , shows the fingertable at the node
- Stablize - stablize , manually calls the stablize algo.
Request Format- IPCommand
Parameters - Separated by backticks
Search- IPsearch
TITLEHASH
PUSH- IPpush
random