Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing Bittorrent Protocol

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#)

like image 351
Hamza Yerlikaya Avatar asked Jun 13 '09 13:06

Hamza Yerlikaya


People also ask

What protocol does BitTorrent use?

Data transport in BitTorrent Typically, BitTorrent uses TCP as its transport protocol for exchanging pieces, and it uses HTTP for tracker comms. The well known TCP port for BitTorrent traffic is 6881-6889 (and 6969 for the tracker port).

How does BitTorrent protocol work?

BitTorrent is a peer-to-peer protocol, which means that the computers in a BitTorrent “swarm” (a group of computers downloading and uploading the same torrent) transfer data between each other without the need for a central server. Traditionally, a computer joins a BitTorrent swarm by loading a .

Is BitTorrent an application layer protocol?

BitTorrent is an application layer network protocol used to distribute files. It uses a peer- to-peer (P2P) network architecture where many peers act as a client and a server by downloading from peers at the same time they are uploading to others.

Is BitTorrent a client server protocol?

A BitTorrent client enables a user to exchange data as a peer in one or more swarms. Because BitTorrent is a peer-to-peer communications protocol that does not need a server, the BitTorrent definition of client differs from the conventional meaning expressed in the client–server model.


1 Answers

the complete description of bittorrent protocol:

http://jonas.nitro.dk/bittorrent/bittorrent-rfc.html

like image 98
pesarak Avatar answered Sep 22 '22 02:09

pesarak