Welcome![Sign In][Sign Up]
Location:
Search - fring full source code

Search list

[Internet-Network一个用socket来实现HTTP下载的程序源码

Description: 本文附带源代码还包括了一个使用CHttpSocket实现下载功能的例子工程.注意,所有的调用都是阻塞的,所以最好为一个下载任务创建一个线程,否则会导致界面无法响应用户输入. 程序运行界面如上图,显示了请求头,回应头以及下载进度.-fringe source code is also included use of a functional CHttpSocket download the example works. Attention, all calls are blocked, it's best to download a mandate to create a thread, otherwise they will be unable to respond led interface user input. As running interface map shows that the first request in response to the first progress of the download.
Platform: | Size: 106496 | Author: 屠理峰 | Hits:

CodeBus www.codebus.net