登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • TransServer
    vc——服务器TransServer的程序源码,值得一看!(vc- server TransServer the program source code, worth a visit!)
    2011-08-23 22:51:08下载
    积分:1
  • TranFile
    又是一个文件传输的一个程序,自己学习编程写的。(Is a file transfer of a program, written in their own learning programming.)
    2008-08-18 09:34:31下载
    积分:1
  • vb2005
    使用VB2005编写的关于winsock控件通信例程,适合新手使用(Written using VB2005 winsock control communication routines for the novice)
    2012-07-16 18:13:26下载
    积分:1
  • socketsvc
    用vc6.0实现的强大有界面的sockets通讯程序,可使server端与client端即时通信,需先运行server端。(Vc6.0 achieved using a powerful interface sockets are the communication process, will enable the server-side and client-side real-time communications, the need to run server-side.)
    2007-11-26 08:45:11下载
    积分:1
  • WindowsSocket
    第1章 计算机网络体系结构 第2章 NetBIOS编程户端 第3章 重定向器、邮槽和管道 第4章 网络协议TCP/IP 第5章 局域网编程 第6章 Winsock基础 第7章 Winsock API高级编程 第8章 MFC Winsock高级编程 第9章 深入UDP 第10章 WinInet API开发 第11章 网络协议实现及应用 第12章 综合实例( Chapter 1 Computer Network Architecture Chapter 2 NetBIOS programming client households Chapter 3 redirector, and pipelines Mailslot Chapter 4 Network Protocol TCP/IP Chapter 5 LAN Programming Chapter 6 Winsock basic Chapter 7 Advanced Programming Winsock API Chapter 8 Advanced MFC Winsock Programming Chapter 9 in depth UDP Chapter 10 WinInet API development Chapter 11 Network Protocol implementation and application of Chapter 12 General Example)
    2009-03-14 12:15:17下载
    积分:1
  • Emulator
    驱动层抓取网卡数据代码,并可以修改数据包内容(Crawl layer data-driven card code, and can modify the contents of data packets)
    2009-04-01 00:06:26下载
    积分:1
  • msocudp
    微软提供的UDP编程实例代码,实现了客户端向服务端发送数据的功能,服务器端接收并显示。(UDP programming example code provided by Microsoft client functionality to send data to the server, the server-side receiver and display.)
    2012-09-05 22:12:35下载
    积分:1
  • TCP-UDP
    TCP与UDP源代码测试程序,方便初学者观看,理解。用VC写的,容易读懂。。(TCP and UDP code for ABC to use)
    2012-06-17 11:38:04下载
    积分:1
  • 107215780netmapper
    说明:  网络拓扑图生成工具,可以很轻松的生成整个网络的拓扑图(Network topology generation tool that can easily generate the whole network topology)
    2008-11-11 23:25:48下载
    积分:1
  • GetNetSetting
    get your host net setting
    2012-10-25 12:48:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载