文件名称:http_chunk_demo
- 所属分类:
- Internet/网络编程
- 资源属性:
- [MacOS] [C/C++] [源码]
- 上传时间:
- 2013-09-23
- 文件大小:
- 17kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C语言实现,模拟chunked分块的http下载,chunked编码的是将大块数据分解成多块小数据,每块都可以自指定长度,也就是,解析http头的content-length属性,并不能知道详细的文件大小。
此Demo在一边接收数据,一边在缓冲区中组装,占用内存极少,效率极高。-C language, simulated chunked.http download, chunked encoding is to chunk data into multiple small data blocks, each block can specify the length, that is, parse content-length attribute of http header, can not know detailed file size.
This Demo receiving data on one side, while in the buffer assembly, little memory, and very efficient.
此Demo在一边接收数据,一边在缓冲区中组装,占用内存极少,效率极高。-C language, simulated chunked.http download, chunked encoding is to chunk data into multiple small data blocks, each block can specify the length, that is, parse content-length attribute of http header, can not know detailed file size.
This Demo receiving data on one side, while in the buffer assembly, little memory, and very efficient.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
http_chunk_demo\http_chunk_demo\dechunk.c
...............\...............\dechunk.h
...............\...............\http_chunk_demo.1
...............\...............\................xcodeproj\imac1.mode1v3
...............\...............\.........................\imac1.pbxuser
...............\...............\.........................\project.pbxproj
...............\...............\main.c
...............\__MACOSX\http_chunk_demo\._dechunk.c
...............\........\...............\._dechunk.h
...............\........\...............\._main.c
...............\http_chunk_demo\http_chunk_demo.xcodeproj
...............\__MACOSX\http_chunk_demo
...............\http_chunk_demo
...............\__MACOSX
http_chunk_demo