Using maketorrent in libtorrent examples -


so trying build application uses libtorrent. however, before start make sure have compiled lib correctly , have functioning environment testing. running vm opentracker , try connect using example client in libtorrent. first start creating .torrent file using libtorrent (i not sitting in front of computer libtorrent available might remembering exact commands bit wrong):

maketorrent.exe  dummy.txt -t "http://10.xxx.xxx.xxx/announce" 

this gives me .torrent file called a.torrent. opening file looks ok, bencoding correct , announce address there. next try add example client hoping starts seed:

client_test.exe a.torrent 

everything starts ok, no tracker found. if press t show tracker information see error (maybe not exact phrasing):

alert: {null} unsupported url protocol 

ok, maybe wrong how built libtorrent. halite client instead since supposed build upon libtorret. there have same problem. have @ code , found error message generated. code checking if supplying address using http or https protocol, am. not able use bare ip-address or doing wrong?

i found problem. not problem ip address or torrent itself. instead problem caching. first time added torrent used http:\xxx.xxx.xxx.xxx instead of http://xxx.xxx.xxx.xxx didn't work. whatever change did torrent file after did not stick. falling original file until removed .resume folder.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -