登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • aonitor-domain-number
    材料力学课程的作业,用于惯性矩的计算,但也是我平时学VB的积累,(The homework in the mechanics of materials course is used for the calculation of moment of inertia, but it is also the accumulation of VB in my usual study.)
    2018-12-05 05:07:55下载
    积分:1
  • WinpkFilter
    一个高性能的网络数据包处理架构,利用WinpkFilter可以利用应用层函数直接对数据包进行处理,甚至可以在应用层函数sleep()延缓数据包发送(WinpkFilter is a high performance packet filtering framework for Windows that allows developers to transparently filter (view and modify) raw network packets with minimal impact on network activity without having to write low level TDI or NDIS driver code. WinpkFilter is more than just a firewall development kit for Windows. With WinpkFilter you can make an application that inserts itself into the Windows network stream: custom firewall solution, internet connection sharing (NAT), IP shaper, VPN and many other low-level network solutions completely in user-mode using your favorite development environment: Visual C++, Visual C#, Delphi, Visual Basic, C++ Builder and etc. Using WinpkFilter requires no experience in kernel mode programming on your behalf since WinpkFilter provides you with powerful user level API. However, if you need to implement your solution (to achieve better performance) in kernel mode you can use well-documented raw IOCTL interface as well. )
    2020-10-04 18:07:40下载
    积分:1
  • 762365
    VC Database Books CD-ROMs Machinery Industry Publishing(VC Database Books CD - ROMs Machinery Industry Publishing)
    2017-07-21 23:08:20下载
    积分:1
  • ArpSender
    一个抓包小工具,获取网络上面其它装置之间通讯报文(a tool that get a net reports between other equipments)
    2015-05-07 16:34:05下载
    积分:1
  • Event
    这是一个关于EVEN的使用方法的程序,运用常用的函数,实现了多事件的处理方法(This is a study on the use of EVEN procedures, the use of commonly used functions, the realization of a multi-event approach)
    2008-05-15 23:01:30下载
    积分: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
  • QosSvr
    简易TCP通讯服务器端,QosClt为客户端。多个客户端间的通讯需要基于服务器,即通过服务器转发。(Simple TCP communication server, QosClt for the client. Communication between multiple clients need a server-based, that is transmitted through the server.)
    2013-09-09 13:50:32下载
    积分:1
  • qtcp_clientc
    qt 开发的聊天源代码,使用 qtcpsocket 开发,容易看懂( qt source for tcp client)
    2015-08-10 19:24:54下载
    积分:1
  • mfcping
    说明:  这是非常好的关于网络编程的例子,实现了ping程序,对于学习网络编程的人员来说是非常难得的材料。(It is a very good example of programming on the network to achieve the ping process, for learning network programming staff is very rare material.)
    2008-10-07 13:19:18下载
    积分:1
  • GetHostNameIP
    一个有关获取主机名和IP地址的MFC程序,对于初学者来说很有帮助(For information about obtaining a host name and IP address of the MFC, very helpful for beginners)
    2013-08-22 10:58:23下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载