登录
首页 » Visual C++ » SendFileClient

SendFileClient

于 2014-06-03 发布 文件大小:46KB
0 190
下载积分: 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 个回复

  • LAN-monitoring-system
    局域网监控系统采用vc++6.0编写,需要oracle数据库(LAN monitoring system)
    2013-12-13 22:03:19下载
    积分:1
  • ads
    用来刷百度,google 的 广告,一天默认刷搜索10个关键词,随机点击推广连接20个。可配置、(To brush Baidu, google ads, the 10 day default brush search keywords, random visit to promote connections 20. Configurable,)
    2011-01-10 16:01:52下载
    积分:1
  • testnet
    raw socket编程,探测网络包。 vc++, win2000测试通过。(raw socket programming, detect network packets. vc++, win2000 test passed.)
    2012-11-28 16:31:24下载
    积分:1
  • netstatp
    类似Windows的netstat程序的程序 (An app which is like to windowss netstat)
    2021-04-03 22:29:04下载
    积分:1
  • weiwenwu
    MFC实现文件传输,望有志者增加多线程的功能(MFC to achieve file transfer, and hopes to increase multi-threading features people with lofty ideals)
    2009-10-23 16:18:19下载
    积分:1
  • RemoteControl
    远程桌面控制的完整实现源码,设计文件在http://blog.csdn.net/dijkstar/article/details/9076911有详细描述,里面整合了位图压缩、鼠标键盘低级钩子等。里面的每项技术都具有工程参考价值。(Complete implementation of the remote control code, design documents described in detail in http://blog.csdn.net/dijkstar/article/details/9076911, which integrates bitmap compression, low-level mouse and keyboard hooks and so on. Inside each technology with engineering reference value.)
    2020-11-02 14:29:53下载
    积分:1
  • CPP_Socket
    windows客户端与服务器之间的网络通信代码(windows between the client and server network communications code)
    2013-07-11 23:32:54下载
    积分:1
  • Chat1
    本次上传内容为基于UDP的网络聊天程序,利用SOCKET套接字进行数据通讯,本实验是本人做的计算机网络课程设计,有mfc的CSocket编的。(The uploaded content for UDP-based chat program, the use of SOCKET socket for data communication, I am doing this experiment is a computer network curriculum design, there is the mfc CSocket compiled.)
    2011-09-10 10:12:41下载
    积分:1
  • r3network
    在ring3下能开启、禁用网卡的示例程序。很好很强大。。。-_-#(Ring3 under the open, disable the network card of the sample programs. Very good very strong. . .-_-#)
    2008-05-19 18:08:32下载
    积分:1
  • financemanagement
    说明:  基于mfc可视化完成个人财务管理系统。完成添加、删除、修改、连接数据库等功能。(Mfc-based visualization to complete personal financial management system. Complete add, delete, modify, connect to the database and other functions.)
    2010-04-08 15:24:29下载
    积分:1
  • 696518资源总数
  • 105267会员总数
  • 12今日下载