登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • KONI
    可以参考直接使用S7协议连接西门子plc(You can refer to the direct use of the S7 protocol to connect SIEMENS PLC)
    2018-05-14 11:51:16下载
    积分:1
  • clock
    一款值得一试的还哦让姸 真的很不错呢 下载就能获取那啥了(一款牛b的不行的软件 你会佩服的 相信你 哈哈)
    2014-07-05 23:22:38下载
    积分:1
  • 051018NBSI25
    cookie注入工具cookie注入工具
    2010-02-18 16:48:39下载
    积分:1
  • ARQ
    实现滑动窗口协议(achieve sliding window protocols)
    2020-07-03 00:40:02下载
    积分:1
  • NetworkProgrammming
    基于SOCKET编程,模拟聊天窗口,可选择端口号等,两个窗口之间可以相互发送信息。(SOCKET-based programming, simulation of the chat window, two windows to send messages between each other.)
    2009-04-02 16:09:10下载
    积分:1
  • Getmacofremotemachine
    获取远程机器的MAc地址,运行环境VC++ (get MAC of remote machine)
    2009-05-10 17:27:13下载
    积分:1
  • vcpeerYou
    守候远程控制VC++源码,任意开源。已在XP下编译通过并运行。(Waiting for remote control of VC++ source code, any open-source. Has been compiled by and run under XP.)
    2009-09-26 21:39:30下载
    积分:1
  • PtoP-CHAT
    点对点聊天工具,完整的工程,学习网络编程的可以参考(POINT TO POINT CHAT)
    2013-05-05 00:40:52下载
    积分:1
  • vc6
    串口转以太网通信的例子,有需要的可以参考参考,vc6写的.(Examples of serial to Ethernet communications, we need to refer to reference, vc6 written.)
    2010-12-25 21:54:54下载
    积分:1
  • UDPinstance
    一个VC++写的基于UDP的通信程序实例(VC++ to write a UDP-based communication program example)
    2010-05-13 13:32:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载