登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • ndislwf-master
    windows过滤驱动的示例代码,解析IP、TCP数据包,没有添加实际功能(Windows filter driver sample code, parsing IP, TCP data packets, did not add the actual function)
    2021-02-07 18:29:55下载
    积分:1
  • LiveZilla_3.1.8.6
    免注册QQ/MSN号码,直接在网页上聊天/通话/视频,最佳在线客服.(Live Support)
    2010-05-18 17:35:55下载
    积分:1
  • MFC
    计算机网络 多播 用C++编写 绝对可以用。。。。(计算机网络多播)
    2010-12-12 13:07:25下载
    积分:1
  • VideoMonitorSystem
    基于网络的视频监控系统 随着时代的发展,人们对安全防范也越来越重视,而数字化视频监控系统在音视频录像、报警录像联动、硬盘存储、多画面显示等方面都有突出表现,因此在安防领域逐渐占有了一席之地。本文提出的基于网络的视频监控系统实现了对数字硬盘录像机的控制功能,其远程客户端软件可以同时播放四路具有高达Dl分辨率的图像数据。 第一章论述了视频监控系统和数据压缩技术的发展动态。 第二章对客户端软件的开发环境及平台进行了选择,并就其中使用的关键技术:windows sockets编程技术、windows多线程技术、windows图像显示技术、MPEG-4编解码与数据传术技术、流媒体技术做了简介。 第三章详细论述了客户端软件的设计及实现。包括客户端软件的整体设计和各模块的设计实现,最后给出了实现结果。 第四章是论述了实时流媒体播放器的设计和实现,包括主要模块设计实现 (网络接收模块、解码模块、显示模块、操作控制模块)、其他模块设计实现(显卡能力探测模块、表面管理模块)、性能优化(缓冲、共享内存、线程模型)。 第五章对系统进行了总结,并为系统进一步发展提出了展望和规划。 (network-based video surveillance system with the development of the times, people are increasingly security attention, and Digital Video Surveillance System in video and audio video, police video linkage, hard disk storage, Multi-screen display, and other aspects outstanding performance in the field gradually Security occupies a place. This paper presents the network-based video surveillance system for the digital disk video recorder to the control function, its remote client software can be broadcast simultaneously Four Dl with high-resolution image data. The first chapter of the video monitoring system and data compression technology developments. Chapter II of the client software development environment and platform choices, and the use of the key technologies : Programming windows sock)
    2007-04-04 10:57:21下载
    积分:1
  • VCNetworkhigh-levelprogramming
    本书主要面向具有一定VC网络编程基础并希望学习较高层次编程技术的读者(The book has some major VC-oriented network programming base and hopes to learn higher-level programming technology readers)
    2008-12-25 09:30:49下载
    积分:1
  • LanTalk_sources
    Currently, most of people use MS DCOM/COM+, Java Bean/RMI, and Corba to do distributed computing over internet. All of these technologies are provided with some tools and intermediate objects to simplify internet development. However, these technologies have one common and fundamental problem that all of the calls between a client and a server are blocked for a returned result (please correct me if this is wrong). A client stays still, and has to wait for a while after sending a request to a server. If the request is a lengthy action, the client application seems to be dead to a user. In most cases, we could use a worker thread at the client side to do background computation for solving this problem. However, this comes with an expensive price, more coding, data synchronization and mess in coding logic. Additionally, I also doubt that these technologies are able to really move data across internet efficiently.
    2009-06-27 15:00:43下载
    积分:1
  • NewCuteFTP
    说明:  一款与CuteFTP软件相媲美的源代码,非常值得下载,学习和参考Ftp工具VC++编程必不可少的源码,学习和使用FTP的朋友不仿下载一看!(A match with the CuteFTP software source code, very worth the download, Ftp tools for learning and reference VC++ Indispensable source programming, learning and use FTP to download the friend does not like a look!)
    2008-11-19 14:12:13下载
    积分: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
  • port_scan
    Visual C++案例开发集锦第六章\端口扫描程序的程序源码,值得一看!(Visual C++ case development highlights Chapter program source port scanner, worth a visit!)
    2011-08-13 16:06:40下载
    积分:1
  • Wi-Fi
    Wifi共享小软件,适用于win7以上系统,在接通网络后,还需要手动桥接一下网卡,做的不好,请大家斧正。(Wifi Tool,the min System is win7,after build,if u want run this tool,u must bridge network card)
    2015-11-20 09:51:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载