Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I write a bittorrent node. It goes over many topics I'm interested in: potrntially low-level networking, storage, bits and bytes fiddling, concurrency. The protocol is shockingly simple, and the end result is both easily testable and actually useful.


This seems interesting. Any resources you can recommend for understanding the protocol? And any examples of simple clients in various languages?


I typically only use the spec (https://www.bittorrent.org/beps/bep_0003.html) because it's simple enough, but in case of doubt I guess a third party resource is good. I found https://blog.jse.li/posts/torrent/ to be quite informative about it.

I used to work on a fork of https://github.com/jackpal/Taipei-Torrent with custom features, I found its code to be easy enough to understand




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: