登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • ping
    一个基于VC6.0 的简单ping程序 用于学习简单的网络编程(A the VC6.0 simple ping program for learning network programming)
    2012-06-16 19:33:12下载
    积分:1
  • SynScanPort
    采用syn的扫描方式对一个网段的ip进行扫描,图形界面(Syn scan mode using a segment of ip scanning, graphical interface)
    2010-05-17 19:44:34下载
    积分:1
  • winsocket
    用Winsocket实现网络中聊天和文件传输, VC++编写(you can use it to communicate with other or transfer some files.)
    2009-06-16 23:13:16下载
    积分:1
  • TCPIPAnalyse1
    对TCPIP网络包解析,Win下网络编程参考源码(TCPIP network packets for analysis, Win Network Programming Reference Source)
    2013-05-24 13:21:34下载
    积分:1
  • StressMark压力测试
    StressMark测试软件是一个使用Visual C++编写的,开放源代码的测试工具,可以完成服务程序及重要算法的功能和性能测试,其最主要的功能是模拟多线程或多客户端的自动化压力测试。(StressMark test software is a Visual C prepared in the open-source testing tool, service procedures to be completed and important algorithm functional and performance tests, its main function is simulated multi-threaded or multi-client automation pressure tests.)
    2005-05-02 02:44:47下载
    积分:1
  • 347
    说明:  在运行本程序时,检索整个局域网络,将局域网中的计算机名和IP地址显示在ListControl空间中。(Running the program, search the entire local area network LAN of the computer name and IP address appears in ListControl space.)
    2008-10-14 14:53:53下载
    积分:1
  • knife.rar
    face to world on internet(it s the google chrome)
    2012-10-19 22:25:05下载
    积分:1
  • Desktop
    onvif协议ptz服务端和客户端程序,可以实现服务端服务和客户端访问(onvif ptz server client program)
    2012-03-06 12:35:30下载
    积分:1
  • 805955
    一个可以观察本机上网过程的小程序,使用了SHDocVw组件和MSHTML组件,()
    2018-02-14 10:47:45下载
    积分:1
  • lan
    说明:  局域网视频会议,vc6.0/Windows XP编译通过。(LAN video conferencing, vc6.0/Windows XP compile.)
    2010-03-26 10:58:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载