P2P File Share
A simple peer-to-peer file sharing system.
|
#include <peerdb.hpp>
Public Member Functions | |
Peer (const Endpoint &endpoint, const EndpointID &id) | |
Public Attributes | |
const EndpointID | id |
const Endpoint | endpoint |
std::unordered_set< file_id > | files |
The files that the peer has. (partially or completely) | |
|
inline |
const Endpoint Peer::endpoint |
std::unordered_set<file_id> Peer::files |
The files that the peer has. (partially or completely)
const EndpointID Peer::id |