登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • Chat1
    本次上传内容为基于UDP的网络聊天程序,利用SOCKET套接字进行数据通讯,本实验是本人做的计算机网络课程设计,有mfc的CSocket编的。(The uploaded content for UDP-based chat program, the use of SOCKET socket for data communication, I am doing this experiment is a computer network curriculum design, there is the mfc CSocket compiled.)
    2011-09-10 10:12:41下载
    积分:1
  • sniffer
    说明:  VC++编程实现网络嗅探器 简单 但是完整可运行。比较基础(VC++ programming for network sniffer)
    2011-03-11 09:47:09下载
    积分:1
  • network_report
    计算机网络的实验报告和源码,包含聊天软件的源玛(An experimental computer network reports and source code, including chat software source ma)
    2009-01-03 16:51:44下载
    积分:1
  • 051018NBSI25
    cookie注入工具cookie注入工具
    2010-02-18 16:48:39下载
    积分:1
  • netchating
    局域网内的一个简单的聊天程序,分为服务器端与客户端两部分(LAN within a brief chat procedures, divided into server and client part 2)
    2006-10-17 11:24:42下载
    积分:1
  • aodv-c
    AODV的源代码,包括c++、头文件以及编写用来测试的tcl(AODV source code, including c++, head files, and write to test of TCL )
    2012-05-03 19:49:18下载
    积分:1
  • WiseSocket
    简化Sock连接。采用队列保存Sock的收发消息包,保证消息的处理顺序。(Simplify the Sock connection)
    2012-05-28 11:19:06下载
    积分:1
  • udp
    说明:  采用udp方式实现的数据传输,简单实用,修改后可以传输文件(Udp achieved by way of data transfer, simple and practical, you can transfer files modified)
    2010-04-08 19:36:13下载
    积分:1
  • vlsmaddr
    本源碼是一個用從Internet的Web頁面上得到Email地址,采用多線程遞歸算法(This source code is a Web page is available from the Internet, get Email address, using a recursive algorithm for multi-threaded)
    2009-09-22 17:30:18下载
    积分:1
  • signal-protocol
    各种协议的讲解,是初学的好资料。 各种协议的讲解,是初学的好资料。 (Explain the various agreements is a good beginner information. Explain the various agreements is a good beginner information.)
    2008-07-22 19:56:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载