Questions tagged [libtorrent-rasterbar]

libtorrent is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. It runs on embedded devices as well as desktops. It boasts a well documented library interface that is easy to use. It comes with a simple bittorrent client demonstrating the use of the library.

libtorrent is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. It runs on embedded devices as well as desktops. It boasts a well documented library interface that is easy to use. It comes with a simple bittorrent client demonstrating the use of the library.

53 questions
8
votes
1 answer

creating daemon using Python libtorrent for fetching meta data of 100k+ torrents

I am trying to fetch meta data of around 10k+ torrents per day using python libtorrent. This is the current flow of code Start libtorrent Session. Get total counts of torrents we need metadata for uploaded within last 1 day. get torrent hashes from…
user1642018
6
votes
2 answers

Boost Asio tcp::acceptor access violation exception

I'm trying to create a tcp::acceptor and a libtorrent::session side by side, but I get an access violation exception when waiting for input from std::cin. The access violation occurs in the Boost IOCP implementation as shown by the stack…
Viktor Elofsson
  • 1,581
  • 2
  • 13
  • 20
4
votes
0 answers

libtorrent + boost: undefined symbol: _ZN5boost6random13random_deviceD1Ev

I try to install libtorrent and Python bindings in a py3.4 virtualenv: ./configure --enable-python-binding \ --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ \ LDFLAGS="-L/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/" \…
Sergey
  • 19,487
  • 13
  • 44
  • 68
4
votes
1 answer

libtorrent-rasterbar and Visual Studio 2013

I'm trying to build a simple code (examples/simple_client.cpp) using libtorrent-rasterbar with VS2013 (C++), but I get the following linker error: error LNK2019: unresolved external symbol "void __cdecl…
user1697973
3
votes
1 answer

Downloading Multiple torrent files with Libtorrent in Python

I'm trying to write a torrent application that can take in a list of magnet links and then download them all together. I've been trying to read and understand the documentation at Libtorrent but I haven't been able to tell if what I try works or…
Stone Monarch
  • 325
  • 2
  • 15
3
votes
0 answers

Priority between seed and webseed in libtorrent

everyone. I've read this article http://www.rasterbar.com/products/libtorrent/manual-ref.html but I can't find how can I set up priority between seed and webseed with using libtorrent. I will be very appreciated for your answers.
pic0
  • 491
  • 1
  • 6
  • 15
3
votes
1 answer

how to get libtorrent to see boost?

I am compiling libtorrent-rasterbar-0.16.16 with msys and mingw. ./configure runs fine, until it gets to the boost library check. I have boost 1.51, and I set $BOOST_ROOT, but that did not work. Checking for boost libraries: checking for boostlib…
usbguru
  • 121
  • 10
3
votes
0 answers

libtorrent custom messages between peers

I'm developing a custom torrent client using libtorrent-rasterbar, and I'm trying to implement a chat or custom-messaging between peers feature. For example, I would like to know if my connected peer has finished the download (got all the pieces for…
Hernán
  • 4,527
  • 2
  • 32
  • 47
2
votes
1 answer

Libtorrent- Keep the whole data in cache and flush later

I am using libtorrent to transfer data to 10k+ nodes. Here the data I am transferring is very small in size(size of 10-50 mb). I want all the nodes to keep data in memory until all the other nodes finish downloading to avoid more disk io usage, and…
Harsh Sharma
  • 10,942
  • 2
  • 18
  • 29
2
votes
1 answer

Why is utorrents Magnet to Torrent file fetching is faster than my python script?

i am trying to convert torrent magnet urls in .torrent files using python script. python script connects to dht and waits for meta data then creates torrent file from it. e.g. #!/usr/bin/env python ''' Created on Apr 19, 2012 @author: dan, Faless …
user1642018
2
votes
0 answers

how to build libtorrent for simulator ios

hi everyone and sorry my bad English. im newbie in ios develope, now im try to build libtorrent for iso, First of all, i have had use Booost and OpenSSL on this github when read Script Shell build booost. i have visualization to build libtorrent i…
1
vote
1 answer

Getting peers quickly by announcing to the DHT frequently?

I'm new to the BitTorrent protocols, so please be gentle. From what I understand, torrents are supposed to announce to the DHT every 15 minutes, and by default, this is what libtorrent does. But what if I don't get any peers after the very first…
Flux
  • 9,805
  • 5
  • 46
  • 92
1
vote
1 answer

Is there a way to leverage the Bittorrent DHT for small data

I have a situation where I have a series of mostly connected nodes that need to sync a pooled dataset. They are files from 200-1500K and update at irregular intervals between 30min to 6hours depending on the environment. Right now the numbers of…
1
vote
1 answer

Libtorrent: Add multiple tracker in magnet_link uri

I am trying to use multiple tracker in libtorrent. I am using magnet_link instead of torrent file directly in leechers. While seeding I am able to add multiple tracker in add_tracker(). But when I am generating magnet_link like: magnet_link =…
Harsh Sharma
  • 10,942
  • 2
  • 18
  • 29
1
vote
1 answer

libtorrent alerts - read_piece_alert

I have a multi-file torrent (3 files). I subscribed to read_piece_alert as explained here. std::vector alerts; ses.pop_alerts(&alerts); for (alert* i : alerts) { switch (a->type()) { case…
user3606329
  • 2,405
  • 1
  • 16
  • 28
1
2 3 4