登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • WinSocketAPI
    使用Winsocket API实现的网络通信功能,分客户端和服务器端。(Winsocket API to achieve the use of the network communication function, sub-client and server.)
    2009-05-19 12:30:43下载
    积分:1
  • netspeedspyer
    Windows的网络流量速度检测。使用MFC作为开发平台。(A net speed spyer using MFC platform .)
    2012-02-21 15:20:48下载
    积分:1
  • 局域抓包
    在局域网内抓取所需要的IP数据包,使用VC++6.0工程编写。(Grab the required IP packets in the LAN.)
    2017-12-19 11:20:10下载
    积分:1
  • Winpcap-demo
    一个简单的Winpcap抓包示例程序,能显示多网卡信息,能分别数据链路层和网络层的报文信息(A simple Winpcap packet capture sample program can display a multi-card information, respectively, the data link layer and network layer packet information)
    2012-04-17 10:41:20下载
    积分:1
  • ua3
    说明:  基于EXOSIP协议的SIP软终端,可以实现终端向代理服务器的注册请求(SIP-based softphone EXOSIP agreement can be achieved terminal registration request to the proxy server)
    2010-04-29 11:45:30下载
    积分:1
  • st_asio_wrapper
    它是一个c/s网络编程框架,基于对boost.asio的包装(最低在boost-1.49.0上调试过),目的是快速的构建一个c/s系统;效率高、跨平台、完全异步,当然这是从boost.asio继承而来; 自动重连,数据透明传输,自动解决分包粘包问题(这一特性表现得与udp一样); 只支持tcp和udp协议;(It is a c/s network programming framework, based on boost.asio package (minimum tried to increase the boost-1.49.0), the purpose is to build a fast c/s systems efficient, cross-platform, fully asynchronous, Of course, this is from boost.asio inherited Auto-reconnect, transparent data transmission, automatic sub-stick package to solve the problem (this feature behave the same with udp) Only supports tcp and udp protocol )
    2013-08-22 10:10:54下载
    积分:1
  • CloseWindow
    一个监控网卡的程序。功能如果网卡掉线,电脑自动关机(A monitoring procedure for the network card. Function if the network card offline, the computer automatically shuts down)
    2008-07-17 13:27:47下载
    积分:1
  • cfdamapb
    卫星网络仿真,在opnet环境下开发调试通过 (Satellite network simulation, in the OPNET environment through the development of debugging)
    2021-03-08 22:29:28下载
    积分:1
  • IPMonitor
    监视IP流量与IP数据包统计数据,列出IP流量的详细信息比如原IP地址与目的IP地址、协议类型、传入或传出IP数据包统计数据(Monitor IP traffic and IP packet statistics, lists details such as IP traffic original IP address and destination IP address, protocol type, incoming or outgoing IP packet statistics)
    2014-03-10 20:00:47下载
    积分:1
  • rtsp_for_VC
    很好的RTSP实现,分享给大家使用,已经建有VC工程(Good RTSP implementation, we used to share)
    2010-12-23 17:17:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载