Furrent
|
Classes | |
struct | Announce |
The response sent from the tracker when announcing. More... | |
struct | Peer |
Represents a single peer as given by the tracker. More... | |
Typedefs | |
using | PeerResult = util::Result< Announce, PeerError > |
Enumerations | |
enum | PeerError { PeerError::ParserError, PeerError::AnnounceError } |
Functions | |
PeerResult | parse_tracker_response (const std::string &text) |
PeerResult | announce (const TorrentFile &torrent_f) |
Contains data structures and facilities for representing and discovering BitTorrent peers
using fur::peer::PeerResult = typedef util::Result<Announce, PeerError> |
|
strong |
PeerResult fur::peer::announce | ( | const TorrentFile & | torrent_f | ) |
Announce ourselves to the tracker and get a list of peers to download the file from
PeerResult fur::peer::parse_tracker_response | ( | const std::string & | text | ) |