登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • Web服务器和浏览器的设计
    网络编程中C++ Web服务器和浏览器的设计源代码,用于网络编程实验。(The design source code of C++ Web server and browser in network programming is used for network programming experiment.)
    2019-01-08 21:12:52下载
    积分:1
  • qqsniffer.src
    局域网QQ密码嗅探器QQsniffer,不要用于非法哦(LAN QQ password sniffer QQsniffer, not used in the illicit Oh)
    2007-10-15 22:33:32下载
    积分:1
  • update-online
    一套完整的在线升级程序,只需修改配置文件即可成为自己的升级程序。(A complete set of online upgrade program, simply modify the configuration file to become their own upgrade process.)
    2013-09-18 09:28:45下载
    积分:1
  • SocketPackage
    这是一个完整的网络数据包截获程序,类似WPE,使用了SPI、DLL注入、键盘截获等原理,如今的游戏都可以封杀WPE进程了,那就用这个程序吧。在XP下VC6编译通过(This is a complete network data packets intercepted procedures similar AE, the use of the SPI, DLL injection, Keyboard intercepted and so on, today's game can be killed AE process, we would use this procedure it. In XP VC6 compile)
    2007-01-30 11:30:29下载
    积分:1
  • IPMonitor
    监视IP流量与IP数据包统计数据,列出IP流量的详细信息比如原IP地址与目的IP地址、协议类型、传入或传出IP数据包统计数据(Monitor IP traffic and IP packet statistics, lists details such as IP traffic original IP address and destination IP address, protocol type, incoming or outgoing IP packet statistics)
    2014-03-10 20:00:47下载
    积分:1
  • DMMidddleWare
    部署在服务器公网上 实现内外网通讯的源码,外部程序连接到这个程序,这个程序再连接内部服务器(Deployed on the server the public Internet to achieve internal and external network communication)
    2012-02-10 15:46:10下载
    积分:1
  • port_scan
    Visual C++案例开发集锦第六章\端口扫描程序的程序源码,值得一看!(Visual C++ case development highlights Chapter program source port scanner, worth a visit!)
    2011-08-13 16:06:40下载
    积分:1
  • RemoteDemo
    windows 终端服务查询登录信息等。 可用于远程桌面二次开发,使用RDP协议的远程连接等。(windows Terminal Services query log information. Remote Desktop can be used for secondary development, the use of RDP protocol, such as remote connectivity.)
    2007-10-18 22:34:40下载
    积分:1
  • bxr__form
    A practical example of moving a form without title bar is simple, effective and worthy of reference.
    2018-11-04 09:31:40下载
    积分:1
  • OPCServer
    说明:  如何开发OPC Server.OPC主要适用于过程控制和制造自动化等应用领域。(this paper teach us how to make OPC Server.The main useful to use OPC is contoel.)
    2011-03-18 16:09:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载