文件名称:SendFileClient

介绍说明--下载内容均来自于网络,请自行研究使用

VC++实现类似于QQ文件传输功能的文件发送与接收程序示例,分为服务端和客户端,客户端首次接收数据,将判断文件包大小,数据包中一定包含完整的数据包结构信息,数据不一定完整;读取数据包的大小,包含数据包结构大小和数据大小,之前接收的数据与现在接收的数据能够构成至少一个完整的数据包,文件接收完毕则设置结束标记,若终止的连接,则弹出窗口告诉用户,对方终止了文件传送。

  服务端程序是比较简单的,基本是复制文件数据、判断文件是否传递成功、等待对方收受发送任务或取消发送任务,分包继续发送文件等功能。

-VC++ QQ file transfer capabilities to achieve similar file send and receive 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, the previously received data and present the data received at least be able to constitute a 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.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





SendFileClient\SendFileClient\ClientSock.cpp

..............\..............\ClientSock.h

..............\..............\ReadMe.txt

..............\..............\res\SendFileClient.ico

..............\..............\...\SendFileClient.rc2

..............\..............\resource.h

..............\..............\SendFileClient.aps

..............\..............\SendFileClient.clw

..............\..............\SendFileClient.cpp

..............\..............\SendFileClient.dsp

..............\..............\SendFileClient.dsw

..............\..............\SendFileClient.h

..............\..............\SendFileClient.rc

..............\..............\SendFileClientDlg.cpp

..............\..............\SendFileClientDlg.h

..............\..............\StdAfx.cpp

..............\..............\StdAfx.h

..............\........Server\ReadMe.txt

..............\..............\res\SendFileServer.ico

..............\..............\...\SendFileServer.rc2

..............\..............\resource.h

..............\..............\SendFileServer.aps

..............\..............\SendFileServer.clw

..............\..............\SendFileServer.cpp

..............\..............\SendFileServer.dsp

..............\..............\SendFileServer.dsw

..............\..............\SendFileServer.h

..............\..............\SendFileServer.rc

..............\..............\SendFileServerDlg.cpp

..............\..............\SendFileServerDlg.h

..............\..............\ServerSock.cpp

..............\..............\ServerSock.h

..............\..............\StdAfx.cpp

..............\..............\StdAfx.h

..............\........Client\res

..............\........Server\res

..............\SendFileClient

..............\SendFileServer

SendFileClient

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org