Viren Negi
2017-04-15 11:20:21 UTC
Hi,
I have improvised the simple_client.cc to extend the torrent to accept
magnetic link and info_hash
While I see the magnetic link stuff work but when I try with info hash I
don't any satisfactory result.
Here a git diff of actual modification I made to simple_client.cc
https://gist.github.com/anonymous/977a393a03ad01523f210b1046afc054
<https://gist.github.com/anonymous/977a393a03ad01523f210b1046afc054>
Not sure what I'm doing through. The example on how to use a info_hash in
add_torrent_params is taken from python example.
https://github.com/arvidn/libtorrent/blob/master/bindings/python/src/session.cpp#L247-L248
I think I making a some stupid mistake but I'm not able to figure that out.
Thanks.
I have improvised the simple_client.cc to extend the torrent to accept
magnetic link and info_hash
While I see the magnetic link stuff work but when I try with info hash I
don't any satisfactory result.
Here a git diff of actual modification I made to simple_client.cc
https://gist.github.com/anonymous/977a393a03ad01523f210b1046afc054
<https://gist.github.com/anonymous/977a393a03ad01523f210b1046afc054>
Not sure what I'm doing through. The example on how to use a info_hash in
add_torrent_params is taken from python example.
https://github.com/arvidn/libtorrent/blob/master/bindings/python/src/session.cpp#L247-L248
I think I making a some stupid mistake but I'm not able to figure that out.
Thanks.