libtorrent技术分享.pptVIP

  • 13
  • 0
  • 约1.89千字
  • 约 16页
  • 2017-07-04 发布于湖北
  • 举报
libtorrent技术分享

Libtorrent技术分享 主要内容 Libtorrent简介 如何使用Libtorrent Libtorrent代码分析 LIBTORRENT简介 特性 基于C++编写 支持windows,Linux/Unix 系统 开源 支持绝大部分BT特性 代码风格良好 帮助文档丰富 高效(网络IO,磁盘IO,内存…) 作者 如何使用LIBTORRENT 编译 编译boost 编译open ssl 编译libtorrent Hello word int main(int argc, char* argv[]) { using namespace libtorrent; session s; error_code ec; s.listen_on(std::make_pair(6881, 6889), ec); add_torrent_params p; p.save_path = D:\\我的资料库\\Downloads; p.ti = new torrent_info(D :\\Spark_Setup.exe.torrent, ec); s.add_torrent(p, ec); // wait for the user to end char a; scanf(%c\n, a); return 0; } API Overview The interface of l

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档