views:

685

answers:

3

I am looking for a tutorial/blog post on how to implement bittorrent protocol step by step. How it works? How do you make requests to peers? and talk to trackers.

I do not mind the programming language (java,ruby,perl,c#)

+1  A: 

There is the libtorrent library.

Here's the API documentation and examples.

Jonathan Prior
+1  A: 

I'd suggest you look at the spec (1) and sources of some OSS clients. You'll have to do some work, but that's how programming works.

(1): http://www.bittorrent.org/beps/bep_0003.html

Armandas
+2  A: 

I'm currently implementing a BitTorrent client in Java using this specification.

macbirdie