Git Product home page Git Product logo

Comments (11)

atomashpolskiy avatar atomashpolskiy commented on May 12, 2024

@waikontse , was there any problem with the library, or just some misunderstanding?

from bt.

waikontse avatar waikontse commented on May 12, 2024

I'm not really sure, but I think there is a problem with the library. I haven't done an extensive testing to pinpoint where things go wrong or just a misunderstanding of the library.

And as alternative torrent client, I'm using transmission 2.9.2.

But here are 3 scenarios that I've tested and the result of those.

Scenario 1

Seeder: transmission client
Leecher: bt client
Result: bt client downloads the file

Scenario 2

Seeder: bt client
Leecher: transmission client
Result: transmissions receives 0 peers from tracker and no downloading happens.

Scenario 3

Seeder: bt client
Leecher: bt client
Result: bt client downloads the file.

Any ideas where things might have gone wrong are helpful. And as bt client config, I just copy/paste the sample code on your front page.

from bt.

atomashpolskiy avatar atomashpolskiy commented on May 12, 2024

Thank you for pointing out the different cases! I think I have an idea, will need to check.

from bt.

vikulin avatar vikulin commented on May 12, 2024

Any updates?

from bt.

waikontse avatar waikontse commented on May 12, 2024

I haven't work on the problem anymore, I've switched to another torrent library which I have to write a JNI wrapper for it.

from bt.

phillui-37 avatar phillui-37 commented on May 12, 2024

@atomashpolskiy sorry is there any update?

from bt.

atomashpolskiy avatar atomashpolskiy commented on May 12, 2024

from bt.

phillui-37 avatar phillui-37 commented on May 12, 2024

I have the same issue too.
I don't know it's network issue or not(like UPnP or NAT). When I download content from a magnet link, it can upload some data... Arrrrr, around few MB for 3GB data.
But when I stopped download client and try to upload file, it cannot find any peers at all

The download and upload code is basically following you example of file sharing (Leecher.java, Seeder.java)

from bt.

atomashpolskiy avatar atomashpolskiy commented on May 12, 2024

from bt.

phillui-37 avatar phillui-37 commented on May 12, 2024

No, you're right.
The magnet link from the tracker has over 200 clients fetching the resources according to tracker records. It's nonsense that uploading keep 0 uploaded bytes for 2 hours.

from bt.

atomashpolskiy avatar atomashpolskiy commented on May 12, 2024

from bt.

Related Issues (20)

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.