I was developing a library based on BitTorrent to study about the implementation of P2P networking before, but I stopped the development  now.