IP_P1_ChordLT is a project mainly written in C and SHELL, it's free.
Course Project: Implementation of a Peer-to-Peer RFC distribution system utilizing the Chord Distributed Hash Table algorithm for lookups. The system uses TCP sockets.
Implementation of a (lite) version of Chord Distributed hash table system. We have developed a P2P system for downloading RFCs. Every communication is done via messages that resemble HTTP-like message formats.
Chord Peer <-> Peer Messages
Chord Peer <-> Client Messages ->
Message Types and formats -->
FetchRFC
GET FetchRFC
RegisterNode
GET RegisterNode Chord-LT/1.0
IP:
NodeIdentity
POST NodeIdentity Chord-LT/1.0
chord_id:
GetKey
GET Getkey Chord-LT/1.0
IP:
NodeList
POST NodeList Chord-LT/1.0
IP:
GetRFC
GET GetRFC Chord-LT/1.0
IP:
PrintRFCDb GET PrintRFCDb Chord-LT/1.0
ForwardGet
GET ForwardGet Chord-LT/1.0
IP:
PeerDetails
GET PeerDetails Chord-LT/1.0
IP: