Package Anomos :: Package Protocol :: Module BitTorrentProtocol
[hide private]
[frames] | no frames]

Module BitTorrentProtocol

source code

Classes [hide private]
  BitTorrentProtocol
Should NOT be created directly, must be used as a mixin with a class that also inherits a Connection type
Functions [hide private]
 
toint(s) source code
 
tobinary(i) source code
Variables [hide private]
  CHOKE = '\x00'
  UNCHOKE = '\x01'
  INTERESTED = '\x02'
  NOT_INTERESTED = '\x03'
  HAVE = '\x04'
  BITFIELD = '\x05'
  REQUEST = '\x06'
  PIECE = '\x07'
  CANCEL = '\x08'