libtorrent::peer_info Struct Reference

#include <peer_info.hpp>

List of all members.

Public Types

enum  {
  interesting = 0x1, choked = 0x2, remote_interested = 0x4, remote_choked = 0x8,
  supports_extensions = 0x10, local_connection = 0x20, handshake = 0x40, connecting = 0x80,
  queued = 0x100
}
enum  { standard_bittorrent = 0, web_seed = 1 }

Public Attributes

unsigned int flags
tcp::endpoint ip
float up_speed
float down_speed
float payload_up_speed
float payload_down_speed
size_type total_download
size_type total_upload
peer_id pid
std::vector< boolpieces
bool seed
int upload_limit
int download_limit
char country [2]
size_type load_balancing
int download_queue_length
int upload_queue_length
int downloading_piece_index
int downloading_block_index
int downloading_progress
int downloading_total
std::string client
int connection_type


Detailed Description

Definition at line 45 of file peer_info.hpp.


Member Enumeration Documentation

anonymous enum

Enumerator:
interesting 
choked 
remote_interested 
remote_choked 
supports_extensions 
local_connection 
handshake 
connecting 
queued 

Definition at line 47 of file peer_info.hpp.

anonymous enum

Enumerator:
standard_bittorrent 
web_seed 

Definition at line 102 of file peer_info.hpp.


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Sun May 25 00:21:42 2008 by  doxygen 1.5.6