登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • CDNS_demo
    说明:  DNS解析系统,通过发送DNS协议包到DNS服务器来获取DNS(DNS analysis system, the agreement by sending a DNS packet to the DNS server to obtain the DNS)
    2021-01-23 21:48:39下载
    积分:1
  • qks
    When I wrote this function my problem was to replace one color by an other on transparent bitmaps My
    2018-09-29 15:06:30下载
    积分:1
  • weiwenwu
    MFC实现文件传输,望有志者增加多线程的功能(MFC to achieve file transfer, and hopes to increase multi-threading features people with lofty ideals)
    2009-10-23 16:18:19下载
    积分:1
  • Chat
    实现点对点发送文本聊天,P2P基于套接字发送和接收文本(Realize the point-to-point send text chat, P2P based on SOCKET to send and receive text)
    2013-05-31 08:30:11下载
    积分:1
  • Modem
    这是一个关于MODEM的网络编程源代码,采用VC++编写。(This is a MODEM network programming source code, written using VC++.)
    2010-06-05 14:41:15下载
    积分:1
  • PortScan
    端口扫描器。 本扫描器实现了:TCP Connect 扫描,TCP SYN扫描,TCP Fin扫描,TCP ACK扫描及UDP端口扫描,这些扫描能够实现扫描特定IP地址范围内端口和扫描某IP地址范围内全部主机特定端口两种模式,并且SYN扫描能够区分端口开放、端口关闭和被防火墙过滤三种状态。(Port scanner. The scanner realized: TCP Connect Scan, TCP SYN Scan, TCP Fin Scan, TCP ACK scan and UDP port scan, the scan can scan a specific IP address range of ports and scanning a range of IP addresses all host two specific ports mode, and can distinguish SYN scan open ports, port closed and the three states firewall filters.)
    2020-11-25 00:59:32下载
    积分:1
  • vncviewer
    说明:  这是一个比较复杂的远程控制工具,分为服务器与客户斋,让你了解socket编程的知识.(This is a more complex remote control tools, is divided into server and client fasting, so that you understand socket programming knowledge.)
    2008-11-17 16:42:34下载
    积分:1
  • socket
    SOCKET通信,一个服务端,一个客户端的通信。(SOCKET communications, a server, a client communication.)
    2013-11-04 16:50:40下载
    积分:1
  • update-online
    一套完整的在线升级程序,只需修改配置文件即可成为自己的升级程序。(A complete set of online upgrade program, simply modify the configuration file to become their own upgrade process.)
    2013-09-18 09:28:45下载
    积分:1
  • CalRemainder
    可以根据输入的生成多项式计算CRC16的余式表,并输出到TXT文件中打开。附赠CRC16的查表程序和直接计算程序,供验证用。使用这段程序,可以完美解决CRC16的编程问题,CRC32以及CRC8也可以参考使用。(CRC16 remainder table according to the generator polynomial of the input and output to a TXT file to open. Comes with a CRC16 table look-up procedure and a direct calculation program, for verification purposes. This program can be the perfect solution the CRC16 programming problem, the CRC32 and CRC8 also be of use.)
    2012-02-18 12:56:17下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载