[Libtorrent-devel] simple_client

Fredrik Axelsson fraxbe at gmail.com
Wed Apr 5 17:03:17 UTC 2006


Hi!

I'm trying to familiarize myself with the API of libtorrent using the small
simple_client example. The example does not seem to be complete, in
main.ccthe url of the torrent is set to argv[1] (from the
commandline). Which I
assume is supposed to be a .torrent file.

argv[1] is later passed on as the url in curl_get.cc

curl_easy_setopt(m_handle, CURLOPT_URL,            m_url.c_str());

I assume that something is supposed to open the file and extract the url,
but I cannot find code to do it anywhere.

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rakshasa.no/pipermail/libtorrent-devel/attachments/20060405/32c0f588/attachment.html


More information about the Libtorrent-devel mailing list