登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • qqsniffer.src
    局域网QQ密码嗅探器QQsniffer,不要用于非法哦(LAN QQ password sniffer QQsniffer, not used in the illicit Oh)
    2007-10-15 22:33:32下载
    积分:1
  • InstantMessaging
    简单的网络聊天文件传输程序 可以 0.普通聊天(文字、图片) 1.聊天室 2.传输文件(断点续传) 3.共享屏幕 4.白板 5.视频、音频聊天(Simple network chat file transfer program can 0. General chat (text, images) a chatroom 2. Transfer files (HTTP) 3. Shared screen 4. Whiteboard 5 video and audio chat)
    2013-08-26 22:14:23下载
    积分:1
  • TCPSrv
    socket服务器程序Demo。供socket开发人员参考。(socket server program Demo. Developer Reference for the socket.)
    2013-09-13 16:51:05下载
    积分:1
  • QQ
    说明:  模仿qq的一个小程序,值得VC++初学者学习(Qq imitate a small program, it is worth learning VC++ beginners)
    2011-12-08 17:03:33下载
    积分:1
  • Computer-Networks-and-Internets
    这是一个用c++编写的,socket API 的服务器端和客户端的相互响应的简单程序.用cmd打开程序exe,输入“webserver + 端口号”,webclient方面,输入“webclient + 127.0.0.1 + 端口号5600”,则可以在客户端上显示接收到的信息。(This is a c++ written in response to a simple procedure of mutual socket API server and client' s Open Program exe, enter " webserver+ port number" , webclient, the input " webclient+ 127.0.0.1+ port number 5600 with cmd " you can display the information received on the client.)
    2013-12-27 21:41:43下载
    积分:1
  • Sniffer_code
    用vc实现的sniffer,没有使用winsock与winpcap。十分具有学习价值!(Vc realize with the sniffer, did not use winsock with winpcap. Very much with learning the value of!)
    2008-04-01 17:48:52下载
    积分:1
  • socket
    TCP CS 模式文件传输可以下载和上传文件,也可浏览服务器端文件(TCP CS file transportation)
    2010-11-08 21:48:17下载
    积分:1
  • socket
    socket编程实现服务端与客户端互发消息(exchange message between server and client)
    2011-04-29 01:32:40下载
    积分:1
  • 49525823chap04Telnet
    Visual C++ .NET 网络与通信高级编程范例配套代码(Visual C++. NET network and high-level programming paradigm supporting code)
    2014-02-20 23:05:14下载
    积分:1
  • timeoutsocket
    socket建立连接超时的控制 (Controlling socket when timeout)
    2021-04-15 14:08:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载