Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twisted and p2p applications

Can you tell me: could I use twisted for p2p-applications creating? And what protocols should I choose for this?

like image 613
Max Frai Avatar asked May 08 '09 11:05

Max Frai


2 Answers

The best solution is to use the source code for BitTorrent. It was built with Twisted until they switched over to a C++ implementation called Utorrent.

  • Last known Twisted version of BitTorrent
    • http://download.bittorrent.com/dl/archive/BitTorrent-5.2.2.tar.gz
  • Older versions
    • http://download.bittorrent.com/dl/archive/

As an alternative, you also might want to take a look at Vertex.

It is a p2p library built on top of Twisted and comes with goodies like bypassing firewalls.

Its probably more complete than the other people's sample.

  • Link to Vertex
    • https://github.com/twisted/vertex
like image 174
Unknown Avatar answered Sep 17 '22 16:09

Unknown


bittorrent twisted python client/server

like image 34
si28719e Avatar answered Sep 17 '22 16:09

si28719e