登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • ask_answer
    该程序模拟知乎,作为网上问答系统,用户能注册,登录,提问,回答,点赞,关注,取关,查找问题,等一系列操作,一个服务器端可以同时连接多个客户端,能够同步各个客户端操作结果。程序分为客户端和服务器端,用户gui采用mfc编写,通信方式为socket方式,开发环境为win7 vs2015,编译器v140.(The program simulates know almost as online quiz system, users can register, login, questions, answers, thumbs up, focus on, take off, find the problem, and a series of operations, a server can be connected to multiple clients simultaneously, it is possible to synchronize each client operating results. Program is divided into client and server side, the user using mfc gui written communication for the socket, the development environment for win7 vs2015, compiler v140.)
    2016-05-17 11:56:13下载
    积分:1
  • Client
    利用socket编程实现数据的发送和接收(Use socket programming to send and receive data)
    2016-04-03 11:03:43下载
    积分:1
  • CWebUpdatePrj
    实现通用的程序升级功能,可以检查是否有更新,下载更新(Achieve universal upgrade feature, you can check for updates, download updates)
    2014-06-04 16:42:16下载
    积分:1
  • MyPing
    网络延迟测试工具。测试出网络速度带宽,大小( Network latency test)
    2016-05-28 11:02:21下载
    积分:1
  • ava-kuangjia
    ava 框架,以前找的,不知道现在能用不,需要的自己下载(ava kuangjia )
    2013-12-21 21:33:50下载
    积分:1
  • NDK_demo2012
    Network Development Kit is a set of simple classes for a client-server architecture. Network Development Kit is a set of simple classes for a client-server architecture.
    2012-02-10 13:30:27下载
    积分:1
  • Chat
    程序利用多线程技术和socket技术实现网上聊天程序。服务器程序和客户端程序在同一程序里。(This program realizes the chatting fuction using the multithread technique and socket programming.)
    2016-07-24 11:49:37下载
    积分:1
  • 局域内聊天传输文件
    局域网内聊天传输文件.rar 1、可以进行群聊。 2、点中名字前的复选框要以说消消话。 3、可以群发文件,可以发给指定的人(选中复选框),也可以发给所有人。(LAN chatting to transfer files. Rar one can communicate with a group. 2, points name before the check box to say Consumers Consumers then. 3, the mass document can be sent to the designated person (selected check box), also be given to all.)
    2005-07-01 19:25:21下载
    积分:1
  • 多人聊天
    基于TCP/IP的多人聊天程序(包含服务器和客户端)( Chat the procedure based on the TCP/IP multi- people (to contain server and customer end) )
    2004-07-03 23:37:55下载
    积分:1
  • WSAAsyncSelect
    说明:  基于 异步选择模型的聊天程序,简单实现服务器和客户端的对话(Select model based on asynchronous chat program, simple implementation of server and client dialogue)
    2010-04-24 19:35:55下载
    积分:1
  • 696516资源总数
  • 106428会员总数
  • 7今日下载