Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

99
Views
Is it possible to disconnect using the bittorrent protocol?

Currently, A and B are transferring files 1:1. I'm trying to run code that disconnects the torrent from B.

Using the codes introduced at https://www.npmjs.com/package/bittorrent-protocol I tried to disconnect the current connection using

wire.choke()
wire.uninterested()

However, the file is still being transferred. I wonder why it doesn't work as intended.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is no explicit shutdown signalling on the bittorrent layer. To disconnect a bittorrent peer you have to close the underlying TCP connection.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!