登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • DNS_Lookup
    窗口方式下域名解析,DNS域名解析系统。(Window mode, DNS, DNS domain name system.)
    2009-11-02 13:08:46下载
    积分:1
  • qks
    When I wrote this function my problem was to replace one color by an other on transparent bitmaps My
    2018-09-29 15:06:30下载
    积分:1
  • liaotianchengxu
    VC++编写的聊天程序。可在局域网内进行聊天。界面清晰(VC++ to prepare the chat program. Can be carried out in the local area network chat. Clear interface)
    2009-06-14 10:28:05下载
    积分:1
  • IP-phone-source
    VC++实现的IP网络电话方案,借鉴一下吧(VC IP telephone network, learn from my views)
    2007-06-20 11:40:04下载
    积分:1
  • msocudp
    微软提供的UDP编程实例代码,实现了客户端向服务端发送数据的功能,服务器端接收并显示。(UDP programming example code provided by Microsoft client functionality to send data to the server, the server-side receiver and display.)
    2012-09-05 22:12:35下载
    积分:1
  • ARQtest
    实现ARQ协议的简单模拟,包括发送,确认号,等待,出错重发等等。(Realise a simple Model as ARQ Protocol)
    2010-10-27 12:32:34下载
    积分:1
  • stund_0.92_Jun06
    一个UDP穿透NAT的例子,遵守RFC3489(a UDP penetrate NAT example, compliance with RFC3489)
    2004-11-17 23:51:28下载
    积分:1
  • les-4-3-tools
    CyberBot botnet tool for hacking
    2013-10-04 02:41:58下载
    积分:1
  • hqwyyzm
    通过此软件可以获取网页验证码,用于研究软件来控制网页中的元素信息.(With this software, you can access to the website code, used to study the software to control elements of the website information.)
    2013-10-11 15:47:03下载
    积分:1
  • Visual C实现POP3邮件接收
    用pop3实现邮件的接收功能,图形化界面,基于MFC(please read Chinese comments,thank you)
    2021-01-16 17:38:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载