Beginners question on using libtorrent #7525
-
Hi list, I'm dabbling for a while now in bittorrent areas but somehow I seem to be stuck and I hope that maybe some of you can help me. My problem is the following: I have some computers in a local network that has no connection to any outside servers. I want to try bittorrent to exchange data on these machines. I know their adresses and I have full control over them. However, I can't use any trackers on these machines. I made my way through (at least a large subset of) your tutorials, which are really great, I understood a lot from them. The problem in my setups is that peers don't seem to discover each other. I had the idea to just use the connect_peer call to connect two sessions hoping that would be enough. Since I have this information I wanted to use it without having to rely on a black-box mechanism like LSD which uses multicast and I wanted to have that option out of the equation for now. (maybe that's wrong..) To test my stuff, I ran two instances of straight forwar session implementations from the tutrial on the same machine and set them up with the respective peer information (different ports on localhost), provided them with a torrent and derived magnet link I created for a test file, but still no dataexchange is happening. I see some data exchange on the ports in tcpdump but that stops after a while and then both instances stay idle. I set one of the test instances in seed mode but that doesn't help either. Do you have any suggestion of what I'm doing wrong or what I forget? Did I overlook something or am I poking in the wrong direction? Ist there some ressource that could give some more insight? Any help is appreciated... All the best and thank you for the great library! BTW. I'm using C++ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi list, |
Beta Was this translation helpful? Give feedback.
Hi list,
I got everything to run. So this is not an issue anymore.