登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • WinSocketAPI
    使用Winsocket API实现的网络通信功能,分客户端和服务器端。(Winsocket API to achieve the use of the network communication function, sub-client and server.)
    2009-05-19 12:30:43下载
    积分:1
  • update-online
    一套完整的在线升级程序,只需修改配置文件即可成为自己的升级程序。(A complete set of online upgrade program, simply modify the configuration file to become their own upgrade process.)
    2013-09-18 09:28:45下载
    积分:1
  • udp
    用VC++编写一个简单的基于UDP通信实例!实现了客户端与服务器端的通信源代码!(Using VC++ to write a simple UDP based communication instance! To achieve the client and server-side communication source code! )
    2010-05-29 05:49:41下载
    积分:1
  • BluetoothClientServer
    BLUETOOTH VC++ CLIENT SERVER
    2012-12-17 18:49:08下载
    积分:1
  • C++hao-zi-liao
    大家共享好东西, 尤其是学C++的出血者(share good things, especially learning C bleeding)
    2006-10-30 18:29:27下载
    积分:1
  • reliable_udp
    基于udp实现可靠传输的原理实现了一个简易的邮件系统。存储利用文件来实现,不涉及数据库。(Udp achieve reliable transmission based on the principle of achieving a simple mail system. Storage of papers to achieve, does not involve a database.)
    2008-01-15 18:46:40下载
    积分:1
  • DBN_RBM1.1
    深度信网络测试代码,可以帮助初学者很好地了解深度学习。(Depth communications network test code that can help beginners a good understanding of the depth of learning.)
    2014-10-31 09:37:18下载
    积分:1
  • SerialPort_vc
    一个关于串口通信编程的小程序,使用visual c++编写。(Serial communication programming on small procedures, the use of visual c++ Prepared.)
    2007-07-16 15:57:05下载
    积分:1
  • 58296017YanErDownloader
    断点续传 http download ftp mfc(http download download download )
    2011-05-23 14:11:39下载
    积分:1
  • SipRecordServer
    在vc++下通过ip端口抓取数据包,获取音频数据进行处理(In vc++ crawl through the ip port packet)
    2013-11-07 16:26:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载