Scenario 1:
I need to download the data sequentially and from the byte I need. When downloading, know exactly how many bytes have already been downloaded (I need a counter, how many bytes are already written). The data must be downloaded in multithreaded mode.
There is no torrent file, but there are variables that contain all the necessary data. It takes a long time to generate a torrent file (a lot of pieces) so this option is not suitable.
Scenario 2:
I have torrent data in different variables. Having peers\hashes and all necessary data to find the pairs: ip,port. Can I use the library only to find peers? After the search, I plan to download the data myself.
Does the library allow to implement these scenarios? How can I do it?
Scenario 1: I need to download the data sequentially and from the byte I need. When downloading, know exactly how many bytes have already been downloaded (I need a counter, how many bytes are already written). The data must be downloaded in multithreaded mode. There is no torrent file, but there are variables that contain all the necessary data. It takes a long time to generate a torrent file (a lot of pieces) so this option is not suitable. Scenario 2: I have torrent data in different variables. Having peers\hashes and all necessary data to find the pairs: ip,port. Can I use the library only to find peers? After the search, I plan to download the data myself. Does the library allow to implement these scenarios? How can I do it?