登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • Catch
    屏幕广播,在局域网内同段IP内进行屏幕广播和监控(Catch Computer desk)
    2013-11-08 09:23:45下载
    积分:1
  • RfQkjNTYK
    代码是用来实现使用IP地址控件显示和设置IP地址的vc代码,好,有需要的朋友可以看看(Vc code is used to display and set the IP address using the IP address of the control code, need friends can look at)
    2013-01-10 18:07:07下载
    积分:1
  • huoqu
    获取本地计算机信息的小代码,比较简单,适合初学网络编程(a simple program of geting information from computer)
    2013-11-28 23:56:56下载
    积分:1
  • 1234
    轻松获得计算机网络接口信息的一个软件。记忆visual c++(Easy access to information on a computer network interface software. Memory visual c++)
    2011-07-22 16:40:46下载
    积分: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
  • Network-transmission-
    Network transmission
    2013-01-24 02:37:33下载
    积分:1
  • SCTP_Client_Server-master
    SCTP实验,实现客户端和服务器端传输数据(SCTP experiment, to achieve the client and server side data transfer)
    2013-12-24 16:44:40下载
    积分:1
  • vcwangluobiancheng
    说明:  vc网络编程全解析,多个源码,全部为vc6打开,每个章节的源码例程都包括在里面,很好的东西,供大家学习应用 (vc network programming full resolution, multiple source, all the vc6 open source routines for each chapter are included in it, very good, for everybody to learn application)
    2010-04-03 21:35:29下载
    积分:1
  • Appendix26
    Icmp高级编程 代码在vc++6.0下调试通过(ICMP high-level programming code vc++ 6.0 debugging through)
    2008-08-21 17:20:39下载
    积分:1
  • TCPSrv
    socket服务器程序Demo。供socket开发人员参考。(socket server program Demo. Developer Reference for the socket.)
    2013-09-13 16:51:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载