登录
首页 » Windows Socket编程 » 本文附带源代码还包括了一个使用CHttpSocket实现下载功能的例子工程.注意,所有的调用都是阻塞的,所以最好为一个下载任务创建一个线程,否则会导致界面无法响...

本文附带源代码还包括了一个使用CHttpSocket实现下载功能的例子工程.注意,所有的调用都是阻塞的,所以最好为一个下载任务创建一个线程,否则会导致界面无法响...

于 2022-07-01 发布 文件大小:88.14 kB
0 206
下载积分: 2 下载次数: 1

代码说明:

本文附带源代码还包括了一个使用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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一个简单的反向连接服务
    DELPHI的一个简单的反向连接服务程序-DELPHI a simple reverse connection service procedures
    2022-08-03 19:29:14下载
    积分:1
  • VC++ 写的基于TCP/IP协议的服务器客户端
    VC++ 编写的基于TCP/IP协议的服务器客户端程序-VC compilation based on TCP/IP agreement server customer end procedure
    2022-02-04 05:09:17下载
    积分:1
  • 功能强大的webediter,完整全面,类似word辑,具有文件上传下载功能,...
    功能强大的webediter,完整全面,类似word编辑,具有文件上传下载功能,-Powerful webediter, complete and comprehensive, such word editing, file upload with download function,
    2022-07-01 23:28:59下载
    积分:1
  • 功能齐全的网上图书超市,机不可失,失不再来
    功能齐全的网上图书超市,机不可失,失不再来-Full-featured online book store, missed, missing no longer to
    2022-10-10 21:10:03下载
    积分:1
  • mac osc平台下Xcode,Objective
    mac osc平台下Xcode编程,Objective-C编写的网络通信程序-mac osc platforms Xcode programming, Objective-C to prepare the network communication program
    2022-05-31 15:09:17下载
    积分:1
  • Serial Communication programming, java language versions, and serial communicati...
    串口通讯编程,java 语言版本的,串口通讯编程,java 语言版本的-Serial Communication programming, java language versions, and serial communication programming, java language versions of
    2022-01-31 03:00:12下载
    积分:1
  • MyDownloader is an open source application written in C# that is almost a comple...
    MyDownloader is an open source application written in C# that is almost a complete download manager.
    2022-08-14 14:39:05下载
    积分:1
  • UDP多播套接字实现
    socket实现udp组播,需要用UDP通信可以参照-udp multicast socket implementation
    2022-02-11 12:50:37下载
    积分:1
  • Ras 的adsl拨号序,实现简单的自动拨号,可以做参考
    Ras 的adsl拨号程序,实现简单的自动拨号,可以做参考-Ras adsl,RAS dial-up program s source code, Chinese, and has been tested
    2023-06-27 08:25:03下载
    积分:1
  • purpose : structural frame for understanding the concept of network protocol, th...
    目的: 构造帧对于理解网络协议的概念、协议执行过程,以及网络问题处理的一般方法具有重要的意义。本次练习的目的是通过数据链路层与介质访问控制层的学习,根据数据链路层的基本原理,针对普遍应用的Ethernet帧,通过构造一个具体的帧,引导同学深入理解网络协议的基本概念与网络问题处理的一般方法。 要求: 1、编写程序,根据给出的原始数据,组装一个IEEE802.3格式的帧。题目附带的文件为二进制原始数据(文件名分别为input1和input2),要求程序为命令行程序,比如可执行文件名为framer.exe,则命令行形式如下: framer inputfile outputfile inputfile为原始数据文件,outputfile为输出结果。 操作系统、使用语言和编译环境不限,但在交作业同时要求注明。 2、输出:对应input1和input2的结果分别为output1和output2 3、要有良好的编程规范和注释 4、写文档 -purpose : structural frame for understanding the concept of network protocol, the implementation of an agreement, network issues and the general approach has important significance. The purpose of the exercise through the data link layer and the MAC layer of learning, according to the data link layer to the basic principles against the universal application of the Ethernet frames, by constructing a concrete frame, to guide students in-depth understanding of network protocols and the basic concepts of network issues to deal with the general approach. Requi
    2022-03-06 07:04:47下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载