Code Monkey home page Code Monkey logo

research-bittorrent's People

Contributors

ashv avatar justinvp avatar seanoflynn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

research-bittorrent's Issues

Still working on this ?

I'm really interested by the work you did here and I would like to know if you are still working on this or not.

Please contact me by email (Github profile) if you read this.

DHT/Peer Exchange

Do you intend to continue your development of this to include DHT/Peer Exchange. The work you have done here has help me a lot in understanding BitTorrent in C#!

Broken link

The full writeup was really good, but the link is broken ( seanjoflynn.com/research/bittorrent ). Would be good to keep that around, maybe in this repo even.

Int32 multiplication overflow before typecasting.

There's a typecasting issue in Bittorrent/Torrent.cs on line 270:
return Read(piece * PieceSize, GetPieceSize(piece));

If piece * PieceSize > Int32.MaxValue then it will overflow to a negative Int32 value before being cast to Int64. Implicit cast so torrents with a total file size > 2GB can be downloaded/verified. Like so:

return Read((long)piece * (long)PieceSize, GetPieceSize(piece));

Writeup linked in readme is dead.

This project seems really interesting. I found a lot of praise for it on hackernews, and it's something I've been willing to learn for a long time. Any chance you've still got the text?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.