Learn about .torrent files, the BitTorrent Peer Protocol and more
In this challenge, you’ll build a BitTorrent client that's capable of parsing a .torrent file and downloading a file from a peer.
Along the way, we’ll learn about how torrent files are structured, HTTP trackers, BitTorrent’s Peer Protocol, pipelining and more.
Bencode is a binary serialization format used in BitTorrent protocol. In this stage, you’ll decode a bencoded string.
In this stage, you’ll decode a bencoded integer.