SendFileClient

所属分类:网络编程
开发工具:Visual C++
文件大小:46KB
下载次数:9
上传日期:2014-06-03 13:50:03
上 传 者kundong
说明:  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 )

文件列表:
SendFileClient\SendFileClient\ClientSock.cpp (977, 2013-12-07)
SendFileClient\SendFileClient\ClientSock.h (1293, 2009-05-12)
SendFileClient\SendFileClient\res\SendFileClient.ico (1078, 2009-05-12)
SendFileClient\SendFileClient\res\SendFileClient.rc2 (406, 2009-05-12)
SendFileClient\SendFileClient\resource.h (922, 2009-05-12)
SendFileClient\SendFileClient\SendFileClient.aps (21568, 2013-12-07)
SendFileClient\SendFileClient\SendFileClient.clw (1658, 2013-12-07)
SendFileClient\SendFileClient\SendFileClient.cpp (2266, 2013-12-07)
SendFileClient\SendFileClient\SendFileClient.dsp (4439, 2009-05-12)
SendFileClient\SendFileClient\SendFileClient.dsw (553, 2009-05-12)
SendFileClient\SendFileClient\SendFileClient.h (1412, 2009-05-12)
SendFileClient\SendFileClient\SendFileClient.rc (5861, 2009-05-12)
SendFileClient\SendFileClient\SendFileClientDlg.cpp (18538, 2013-12-07)
SendFileClient\SendFileClient\SendFileClientDlg.h (2608, 2009-05-13)
SendFileClient\SendFileClient\StdAfx.cpp (216, 2009-05-12)
SendFileClient\SendFileClient\StdAfx.h (1054, 2009-05-12)
SendFileClient\SendFileServer\res\SendFileServer.ico (1078, 2009-05-12)
SendFileClient\SendFileServer\res\SendFileServer.rc2 (406, 2009-05-12)
SendFileClient\SendFileServer\resource.h (876, 2009-05-12)
SendFileClient\SendFileServer\SendFileServer.aps (21472, 2013-12-07)
SendFileClient\SendFileServer\SendFileServer.clw (1621, 2013-12-07)
SendFileClient\SendFileServer\SendFileServer.cpp (2266, 2013-12-07)
SendFileClient\SendFileServer\SendFileServer.dsp (4435, 2009-05-12)
SendFileClient\SendFileServer\SendFileServer.dsw (553, 2009-05-12)
SendFileClient\SendFileServer\SendFileServer.h (1412, 2009-05-12)
SendFileClient\SendFileServer\SendFileServer.rc (5747, 2009-05-12)
SendFileClient\SendFileServer\SendFileServerDlg.cpp (10703, 2013-12-07)
SendFileClient\SendFileServer\SendFileServerDlg.h (2661, 2009-05-12)
SendFileClient\SendFileServer\ServerSock.cpp (1259, 2013-12-07)
SendFileClient\SendFileServer\ServerSock.h (1417, 2009-05-12)
SendFileClient\SendFileServer\StdAfx.cpp (216, 2009-05-12)
SendFileClient\SendFileServer\StdAfx.h (1054, 2009-05-12)
SendFileClient\SendFileClient\res (0, 2012-12-19)
SendFileClient\SendFileServer\res (0, 2012-12-19)
SendFileClient\SendFileClient (0, 2013-12-07)
SendFileClient\SendFileServer (0, 2013-12-07)
SendFileClient (0, 2013-12-07)

近期下载者

相关文件


收藏者