登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • SEVER
    多人在线的网络聊天室—服务器,简化实用 可以修改后添加其他功能(Multiplayer online chat rooms- server, simplifying practical Other functions can be modified to add)
    2013-10-05 19:42:35下载
    积分:1
  • Winsock_jiankong
    说明:  vb做的局域网监控系统,同学的毕业设计,研究winsock很有用(vb to do the LAN monitoring system, students graduating from design, research useful winsock)
    2008-09-08 21:59:55下载
    积分:1
  • ADOSocket
    vc++对ado数据库访问的接口类,提供对数据库的连接访问等方法(vc right ado database access interface type, the right to access database methods)
    2006-05-31 12:36:45下载
    积分:1
  • LIAOTIAN
    应用C++实现局域网内的文件传送和聊天功能(Application C++ Realize LAN file transfer and chat features)
    2008-05-27 16:12:45下载
    积分:1
  • geizajf
    vb+mo地理信息系统二次开发,实现数据查询,空间分析,动态跟踪,图形编辑,(Vb mo GIS secondary development, data query, spatial analysis, dynamic tracking, graphics editing,)
    2018-12-03 16:01:03下载
    积分:1
  • HLA
    HLA仿真程序设计 学RTI的必备书,此书包含HLA的文件结构说明以及联机实例。望对大家有用(HLA RTI Design simulation program essential book, this book contains the file structure of HLA-line instructions and examples. Hope useful for all)
    2020-10-29 11:19:57下载
    积分:1
  • 1234
    轻松获得计算机网络接口信息的一个软件。记忆visual c++(Easy access to information on a computer network interface software. Memory visual c++)
    2011-07-22 16:40:46下载
    积分:1
  • Fat-Tree
    基于opnet的胖树多播网络仿真,主要为多播算法的仿真,程序较完善(Opnet fat tree multicast network simulation, primarily for multicast algorithm based simulation program better)
    2021-02-08 15:09:54下载
    积分:1
  • VB
    说明:  vb聊天室源码,一对一聊天。winsock控件实现的一款聊天软件。(VB Talking station.)
    2013-12-07 14:00:17下载
    积分:1
  • PhoenixSim-(2)
    光片上网络仿真器,哥伦比亚大学开发的,需要利用OMNET(ONoC simlator, made by the columbia university, working with OMNET)
    2020-11-21 09:59:36下载
    积分:1
  • 696518资源总数
  • 105084会员总数
  • 17今日下载