文件名称:SendFileClient
-
所属分类:
- 标签属性:
- 上传时间:2014-01-15
-
文件大小:46.5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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.
服务端程序是比较简单的,基本是复制文件数据、判断文件是否传递成功、等待对方收受发送任务或取消发送任务,分包继续发送文件等功能。
-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
SendFileClient/SendFileClient/ClientSock.h
SendFileClient/SendFileClient/ReadMe.txt
SendFileClient/SendFileClient/res/SendFileClient.ico
SendFileClient/SendFileClient/res/SendFileClient.rc2
SendFileClient/SendFileClient/resource.h
SendFileClient/SendFileClient/SendFileClient.aps
SendFileClient/SendFileClient/SendFileClient.clw
SendFileClient/SendFileClient/SendFileClient.cpp
SendFileClient/SendFileClient/SendFileClient.dsp
SendFileClient/SendFileClient/SendFileClient.dsw
SendFileClient/SendFileClient/SendFileClient.h
SendFileClient/SendFileClient/SendFileClient.rc
SendFileClient/SendFileClient/SendFileClientDlg.cpp
SendFileClient/SendFileClient/SendFileClientDlg.h
SendFileClient/SendFileClient/StdAfx.cpp
SendFileClient/SendFileClient/StdAfx.h
SendFileClient/SendFileServer/ReadMe.txt
SendFileClient/SendFileServer/res/SendFileServer.ico
SendFileClient/SendFileServer/res/SendFileServer.rc2
SendFileClient/SendFileServer/resource.h
SendFileClient/SendFileServer/SendFileServer.aps
SendFileClient/SendFileServer/SendFileServer.clw
SendFileClient/SendFileServer/SendFileServer.cpp
SendFileClient/SendFileServer/SendFileServer.dsp
SendFileClient/SendFileServer/SendFileServer.dsw
SendFileClient/SendFileServer/SendFileServer.h
SendFileClient/SendFileServer/SendFileServer.rc
SendFileClient/SendFileServer/SendFileServerDlg.cpp
SendFileClient/SendFileServer/SendFileServerDlg.h
SendFileClient/SendFileServer/ServerSock.cpp
SendFileClient/SendFileServer/ServerSock.h
SendFileClient/SendFileServer/StdAfx.cpp
SendFileClient/SendFileServer/StdAfx.h
SendFileClient/SendFileClient/res
SendFileClient/SendFileServer/res
SendFileClient/SendFileClient
SendFileClient/SendFileServer
SendFileClient
SendFileClient/SendFileClient/ClientSock.h
SendFileClient/SendFileClient/ReadMe.txt
SendFileClient/SendFileClient/res/SendFileClient.ico
SendFileClient/SendFileClient/res/SendFileClient.rc2
SendFileClient/SendFileClient/resource.h
SendFileClient/SendFileClient/SendFileClient.aps
SendFileClient/SendFileClient/SendFileClient.clw
SendFileClient/SendFileClient/SendFileClient.cpp
SendFileClient/SendFileClient/SendFileClient.dsp
SendFileClient/SendFileClient/SendFileClient.dsw
SendFileClient/SendFileClient/SendFileClient.h
SendFileClient/SendFileClient/SendFileClient.rc
SendFileClient/SendFileClient/SendFileClientDlg.cpp
SendFileClient/SendFileClient/SendFileClientDlg.h
SendFileClient/SendFileClient/StdAfx.cpp
SendFileClient/SendFileClient/StdAfx.h
SendFileClient/SendFileServer/ReadMe.txt
SendFileClient/SendFileServer/res/SendFileServer.ico
SendFileClient/SendFileServer/res/SendFileServer.rc2
SendFileClient/SendFileServer/resource.h
SendFileClient/SendFileServer/SendFileServer.aps
SendFileClient/SendFileServer/SendFileServer.clw
SendFileClient/SendFileServer/SendFileServer.cpp
SendFileClient/SendFileServer/SendFileServer.dsp
SendFileClient/SendFileServer/SendFileServer.dsw
SendFileClient/SendFileServer/SendFileServer.h
SendFileClient/SendFileServer/SendFileServer.rc
SendFileClient/SendFileServer/SendFileServerDlg.cpp
SendFileClient/SendFileServer/SendFileServerDlg.h
SendFileClient/SendFileServer/ServerSock.cpp
SendFileClient/SendFileServer/ServerSock.h
SendFileClient/SendFileServer/StdAfx.cpp
SendFileClient/SendFileServer/StdAfx.h
SendFileClient/SendFileClient/res
SendFileClient/SendFileServer/res
SendFileClient/SendFileClient
SendFileClient/SendFileServer
SendFileClient
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.