tracker_client v0.1.1 TrackerClient.UDP

Make announcements to trackers implementing the UDP tracking protocol.

Summary

Functions

announce(url, params)

See TrackerClient

Params

  • info_hash - urlencoded 20-byte SHA1 hash of the value of the info key from the Metainfo file.
  • peer_id - urlencoded 20-byte string used as a unique ID for the client, generated by the client at startup.
  • port - the port number that the client is listening on.
  • uploaded - total amount of bytes uploaded.
  • downloaded - total amount of bytes downloaded.
  • left - how many bytes are left.
  • event - :started, :stopped, :completed, or not included.
  • numwant - how many peers the client wants.