| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
fmms
12年前发布

BT客户端工具包 - RubyTorrent

     RubyTorrent是一个纯Ruby的BT客户端工具包,使用示例:    <pre class="brush:ruby; toolbar: true; auto-links: false;">## world's smallest bittorrent client require 'rubytorrent' bt = RubyTorrent::BitTorrent.new(ARGV.shift)   thread = Thread.new do   while true     puts bt.percent_completed     sleep 15   end end bt.on_event(self, :complete) { thread.kill } thread.join</pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1327574371639" target="_blank">http://www.open-open.com/lib/view/home/1327574371639</a></p>     
 本文由用户 fmms 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1327574371639.html
Ruby 网络工具包