Furrent
|
Classes | |
class | Downloader |
Functions | |
DownloaderError | from_socket_error (const socket::SocketError &err) |
Variables | |
const int64_t | UNCHOKE_TIMEOUT = 15 |
const int64_t | HANDSHAKE_LENGTH = 1 + 19 + 8 + 20 + 20 |
Length (in bytes) of a BitTorrent handshake. More... | |
const int64_t | INFO_HASH_OFFSET = 1 + 19 + 8 |
|
strong |
DownloaderError fur::download::downloader::from_socket_error | ( | const socket::SocketError & | err | ) |
const int64_t fur::download::downloader::HANDSHAKE_LENGTH = 1 + 19 + 8 + 20 + 20 |
Length (in bytes) of a BitTorrent handshake.
const int64_t fur::download::downloader::INFO_HASH_OFFSET = 1 + 19 + 8 |
Offset (in bytes) from the beginning of a BitTorrent handshake for the info-hash field.
const int64_t fur::download::downloader::UNCHOKE_TIMEOUT = 15 |
Should be greater than 10 seconds for a realistic torrent client but smaller values result in quicker testing