<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bittorrent on Tibo Laperre</title><link>https://www.japerre.xyz/tags/bittorrent/</link><description>Recent content in Bittorrent on Tibo Laperre</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 13 Feb 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://www.japerre.xyz/tags/bittorrent/index.xml" rel="self" type="application/rss+xml"/><item><title>Encodings Confuse Me</title><link>https://www.japerre.xyz/posts/encodings-confuse-me/</link><pubDate>Tue, 13 Feb 2024 00:00:00 +0000</pubDate><guid>https://www.japerre.xyz/posts/encodings-confuse-me/</guid><description>&lt;h2 id="context"&gt;Context&lt;/h2&gt;
&lt;p&gt;Recently I was learning about the bittorrent protocol from this &lt;a href="https://www.youtube.com/watch?v=v7cR0ZolaUA&amp;amp;list=PLsdq-3Z1EPT1rNeq2GXpnivaWINnOaCd0"&gt;excellent video series on youtube&lt;/a&gt;. The creator of the series Arpit Bhayani explaines all about the protocol, the seeders, the leechers, decentralized (the usual). Then he explained what a .torrent file was. A .torrent file has a bunch of fields to get the file names, file lenghts, the url to find the tracker where your torrent is listed. These files are bencoded (or the files are bencoded encoded? idk). He suggested that it was a good idea to write your own decoder for bencoded files.&lt;/p&gt;</description></item></channel></rss>