登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • MAC-scanV3.21
    可实现多种方式的MAC扫描,确保扫描到目标网络中所有的网络mac地址(MAC can be scanned to achieve a variety of ways to ensure that the network scan to the destination mac address of all network)
    2010-12-17 06:44:28下载
    积分:1
  • iperf_win
    Iperf windows版,新手学习用,相当不错.(Iperf windows version, novices to learn, is quite good.)
    2013-04-15 15:31:26下载
    积分:1
  • multi_thread_udp
    多线程UDP通讯例子( Multi-thread UDP communication example )
    2020-06-26 11:40:01下载
    积分:1
  • Computer-Networks-and-Internets
    这是一个用c++编写的,socket API 的服务器端和客户端的相互响应的简单程序.用cmd打开程序exe,输入“webserver + 端口号”,webclient方面,输入“webclient + 127.0.0.1 + 端口号5600”,则可以在客户端上显示接收到的信息。(This is a c++ written in response to a simple procedure of mutual socket API server and client' s Open Program exe, enter " webserver+ port number" , webclient, the input " webclient+ 127.0.0.1+ port number 5600 with cmd " you can display the information received on the client.)
    2013-12-27 21:41:43下载
    积分:1
  • LoginQQ
    VC++自动登陆QQ的代码,VS2010的编译环境(The automatic landing VC++ QQ code, VS2010 the compiler environment)
    2013-04-26 17:14:24下载
    积分:1
  • CG_Client_Source
    这是一个C++写的魔力宝贝登录器.直接可以通过编译. CG_Client.aps CG_Client.cpp(This is a C++ write the Magic Baby login device. CG_Client.aps CG_Client.cpp)
    2021-02-24 13:19:39下载
    积分:1
  • socket
    在visualstudio6下实现socket客户端和服务器端(In visualstudio6 to achieve client and server-side socket)
    2010-06-01 18:46:56下载
    积分:1
  • PC program of low resistance tester20171101
    低电阻测试仪上位机程序,带参数设置功能自动量程、讯响、单次连续、报警上下限设置,及测量数据即时上传功能(Low resistance tester upper computer program, with parameter setting function, automatic range, sound, single continuous, alarm upper and lower settings, and measurement data immediate upload function)
    2017-11-01 16:15:52下载
    积分:1
  • ipmsg
    IPmsg的源代码,用于研究其中所用到的协议和算法(IPmsg source file)
    2012-04-08 14:55:39下载
    积分:1
  • 1231
    实现FTP多线程下载上传,同时可以方便实现与本机FTP服务器的连接(Achieve multi-threaded FTP download upload, and can easily be achieved with the local FTP server)
    2013-06-13 18:52:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载