title: Connect to torrent "swarm" or DHT with ruby
body: <p>I'm probably lacking in some fundamental understanding of how BitTorrent, DHT, and the "swarm" work, as I'm not even sure if DHT and the "swarm" are one and the same.</p>
  
  <p>However, I'm trying to find peers, the number of peers, and some statistics about a torrent from its magnet link (and hash).</p>
  
  <p>I've looked for some libraries to accomplish this, but they seem either outdated or unrelated, or just bencode things.</p>
  
  <p>How do I go about connecting and requesting information? A brief explanation would be delightful.</p>