登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • wdkserver
    wsk是win7上取代tdi驱动进行网络编程的技术,程序对wsk的接口进行封装,可以像应用层一样进行socket编程。(wsk is substituted on win7 tdi driven network programming techniques, procedures for wsk interface package, socket programming can be the same as the application layer.)
    2015-11-03 17:26:33下载
    积分:1
  • HyperLink
    VC网络通讯编程实用案例精选chap4HyperLink.rar(VC network communications programming practical cases Featured chap4HyperLink.rar)
    2008-01-20 20:12:03下载
    积分:1
  • Phrack-Magazine
    phrack有什么nb的地方:有人问我成为nb黑客(不是骇客)的捷径是什么?我发现这里面可以细分为:1.谁是nb的黑客? 我的答案是phrack杂志上每个领域发表开拓性文章的人; 2.如何成为nb的黑客? 我的答案是把phrack杂志大部分文章用几年时间全部真正弄懂 --不看文章,不查资料能把例子实现一遍,还能改--xscan作者(What place phrack nb: nb what I was asked to become a hacker (not a hacker) is a shortcut? I found that there can be subdivided into: (1) Who is nb hackers? My answer is to explore every area of ​ ​ published journal articles on phrack people 2 nb how to become a hacker? My answer is that most of the phrack magazine article a few years time all truly understand- do not look at the article, the example does not check the information can achieve it again, but also to change- xscan author)
    2014-01-13 18:06:16下载
    积分:1
  • rssNotifier
    常驻内存监测网页更新的精简程序(monitoring website updated streamline procedures )
    2007-04-20 15:50:08下载
    积分:1
  • WL_IPpack02
    获得IP地址和MAC地址的对应关系网络课实验。 根据IP地址发送和接受ARP包获得对应MAC地址。(Access to correspondence between the experimental class network IP address and MAC address. Send and receive ARP packets to obtain the corresponding MAC addresses based on IP addresses.)
    2014-05-21 08:56:22下载
    积分:1
  • VB
    vb聊天室源码,一对一聊天。winsock控件实现的一款聊天软件。(VB Talking station.)
    2013-12-07 14:00:17下载
    积分:1
  • SPEI
    SPEI计算SPEI的R语言版与可执行版(含下载网址).rar(SPEI calculated SPEI R-language version of the executable version (with download link). Rar)
    2020-10-17 14:37:27下载
    积分:1
  • csexamsys
    考试程序”客户端/服务器模式”,初学网络编程的人看了一定有所收获(C/S Program)
    2009-10-27 13:57:55下载
    积分:1
  • MFC
    计算机网络 多播 用C++编写 绝对可以用。。。。(计算机网络多播)
    2010-12-12 13:07:25下载
    积分:1
  • live555_vs2008_vs2015(live.2014.07.25)
    live555 rtsp build in vs2008 and vs2015. also make testRTSPClient execute project
    2020-06-19 19:00:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载