Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6846295
  • 博文数量: 3857
  • 博客积分: 6409
  • 博客等级: 准将
  • 技术积分: 15948
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 16:48
个人简介

迷彩 潜伏 隐蔽 伪装

文章分类

全部博文(3857)

文章存档

2017年(5)

2016年(63)

2015年(927)

2014年(677)

2013年(807)

2012年(1241)

2011年(67)

2010年(7)

2009年(36)

2008年(28)

分类:

2012-11-14 23:44:54

4. Ending

本节快速地介绍了用EasyNetwork框架快速地搭建一个下载服务器和下载客户端...感觉还不错吧. 贴几行log展示一下下载的过程吧,各个分片由不同的线程下载:

2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=4, fd=29, file=test.flv, index=4] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=4, fd=29, file=test.flv, index=9] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=0, fd=25, file=test.flv, index=0] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=3, fd=28, file=test.flv, index=3] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=1, fd=26, file=test.flv, index=1] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=2, fd=27, file=test.flv, index=2] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=4, fd=29, file=test.flv, index=14] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=0, fd=25, file=test.flv, index=5] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=0, fd=25, file=test.flv, index=10] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=3, fd=28, file=test.flv, index=8] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=4, fd=29, file=test.flv, index=19] 2012-09-18-14:13:00 INFO [DownClient/DownloadManager.cpp:on_recv_protocol(68)] ... finish download[ID=1, fd=26, file=test.flv, index=6]

阅读(210) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~