登录
首页 » Visual C++ » SendFileClient

SendFileClient

于 2014-06-03 发布 文件大小:46KB
0 232
下载积分: 1 下载次数: 7

代码说明:

  VC++实现类似于QQ文件传输功能的文件发送与接收程序示例,分为服务端和客户端,客户端首次接收数据,将判断文件包大小,数据包中一定包含完整的数据包结构信息,数据不一定完整;读取数据包的大小,包含数据包结构大小和数据大小,之前接收的数据与现在接收的数据能够构成至少一个完整的数据包,文件接收完毕则设置结束标记,若终止的连接,则弹出窗口告诉用户,对方终止了文件传送。   服务端程序是比较简单的,基本是复制文件数据、判断文件是否传递成功、等待对方收受发送任务或取消发送任务,分包继续发送文件等功能(VC++ implementation is similar to QQ file transfer capabilities to send and receive files program examples, divided into server and client, the client receives the first data packet to determine the file size, the packet must contain the complete information packet structure, the data is not must complete reading packet size, including the size and structure of the data packet size, and previously received data received data can now constitute at least one complete packet, the file has been received then set the mark, if the connection is terminated, the pop-up window telling the user, the other party to terminate the file transfer. Server program is relatively simple, basically copying the file data, to determine whether the file transfer is successful, waiting for the other to accept or cancel the sending task sends tasks, subcontractors continue to send files and other functions )

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

发表评论

0 个回复

  • 下载软件
    从网页上下载,这样的话可以用其加工来设计升级程序(downloaded from the website, so processing can be used to design its promotion procedures)
    2005-01-28 23:18:59下载
    积分:1
  • 聊天小chat
    一个有用的网络聊天小程序,含有全部源代码,经过调试(a useful Internet chat small program containing all the source code, after debugging)
    2005-07-13 20:08:42下载
    积分:1
  • ARPfindMACaddress
    说明:  ARP协议发现局域网内的活动主机,vc++语言编写,用有界面,美观实用(ARP protocol found in the activities of the LAN hosts, vc++ language, with a interface, beautiful and practical)
    2011-02-23 07:22:30下载
    积分:1
  • socket
    这是一个简单的socket编程例子,非常适合刚接触socket编程者。程序简单、可用、易于理解。是个很好的socket范例。(A simple socket programming examples. Suitable for beginners. Program is simple, available, easy to understand. Is a good example of socket programming.)
    2013-09-16 15:38:21下载
    积分:1
  • fzitnbl185
    用BitBlt()函数实现界面切换的程序设计方法,其中包括:新建项目,用函数实现文件的打开操作以及相关的程序设计,(The program design method of interface switching is realized by BitBlt () function, which includes: new project, file opening operation with function, and related program design.)
    2018-12-01 16:10:18下载
    积分:1
  • Onvifshengzhe8688
    Onvif实例源码 VC6.0 C++开发 便于学习 Onvif开发入门 Onvif协议开发训练(Onvif instance source VC6.0 introduction to c++ development to facilitate learning Onvif Onvif protocol development training)
    2013-07-31 16:25:35下载
    积分:1
  • mailtoServer123
    mail to server mail to server mail to server mail to server mail to server mail to server (mail to server mail to server mail to server mail to server mail to server )
    2016-09-19 21:40:57下载
    积分:1
  • chat
    网络聊天室,实现类似QQ的功能,通过链表对客户管理(sockeg programming)
    2011-01-24 01:46:22下载
    积分:1
  • SEVER
    多人在线的网络聊天室—服务器,简化实用 可以修改后添加其他功能(Multiplayer online chat rooms- server, simplifying practical Other functions can be modified to add)
    2013-10-05 19:42:35下载
    积分:1
  • network_report
    计算机网络的实验报告和源码,包含聊天软件的源玛(An experimental computer network reports and source code, including chat software source ma)
    2009-01-03 16:51:44下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载