登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • DNS-software
    可以查询网络DNS的一个小程序,以运行,无错误,可直接使用(Can the DNS query network a small program to run, no mistake, can use directly)
    2012-02-21 19:58:26下载
    积分:1
  • vanet
    车载自组网的发展与现状,包括网络结构 主要特点,应用举例,难点与重点,研究现状,物理层参数,MAC 层协议,帧结构,接入方式,802.11DCF,RR-ALOHA,CSMA/CA 和RR-ALOHA 的比较,路由协议 (Vehicle Development and Status of ad hoc networks, including the main features of network structure, application examples, difficulties with focused, current research, physical layer parameters, MAC layer protocol, frame structure, access methods, 802.11DCF, RR-ALOHA, CSMA/CA and RR-ALOHA comparison of routing protocols)
    2010-06-10 11:04:59下载
    积分:1
  • systemfocusdialog
    如果你开发过Windows NT系统上的网络软件,肯定碰到过让用户选择要求连接的或登陆的计算机或者域名的情况。这种情况下肯定用过外壳API函数,像SHGetSpecialFolderLocation 和 SHBrowseForFolder,并显示标准的资源管理器对话框(If you develop Windows NT system over the network software certainly encountered allows users to connect selecting the landing or the computer or domain name situation. Under these circumstances certainly used shell API function, and as SHGetSpecialFolderLocation SHBrowseForFolder and display standard resource management for dialog)
    2004-09-22 23:52:04下载
    积分: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
  • tes
    对于网络开发包的详细解释,包括了libcap和libnid等(For a detailed explanation of the network development kit, including the libcap and libnid of)
    2012-10-23 10:24:33下载
    积分:1
  • getIPaddress
    通过此程序,可以获得本地计算机的IP地址,并以提示框的形式显示出来.(Through this process, access to the local computer' s IP address, and the form of prompt box is displayed.)
    2009-05-07 14:27:16下载
    积分:1
  • TCPSrv
    socket服务器程序Demo。供socket开发人员参考。(socket server program Demo. Developer Reference for the socket.)
    2013-09-13 16:51:05下载
    积分:1
  • udt.sdk.4.9.tar
    UDT(UDP-based Data Transfer Protocol,简称UDT)是一种互联网数据传输协议。UDT建于UDP之上,并引入新的拥塞控制和数据可靠性控制机制。UDT是面向连接的双向的应用层协议。它同时支持可靠的数据流传输和部分可靠的数据报传输。 (UDT is a reliable UDP based application level data transport protocol for distributed data intensive applications over wide area high-speed networks. UDT uses UDP to transfer bulk data with its own reliability control and congestion control mechanisms. The new protocol can transfer data at a much higher speed than TCP does. UDT is also a highly configurable framework that can accommodate various congestion control algorithms)
    2012-01-16 10:53:35下载
    积分:1
  • socket
    SOCKET通信,一个服务端,一个客户端的通信。(SOCKET communications, a server, a client communication.)
    2013-11-04 16:50:40下载
    积分:1
  • BluetoothClientServer
    BLUETOOTH VC++ CLIENT SERVER
    2012-12-17 18:49:08下载
    积分:1
  • 696524资源总数
  • 103886会员总数
  • 81今日下载