登录
首页 » Visual C++ » SendFileClient

SendFileClient

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

  • cPP-Guinness-classic-code
    c++经典代码大全,适合初学者下载参考使用。(c++ Guinness classic code, suitable for beginners reference.)
    2014-01-13 11:17:12下载
    积分:1
  • MFCfeiqu
    实现简单的window局域网通信,即,传输文件。飞秋(Simple window LAN communications, that is, transmission file. Fei Qiu)
    2015-06-15 08:56:44下载
    积分: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
  • TimeCorrection
    这个小程序比较实用,可以让你的电脑时间同步世界服务器提供的时间,这可是比较准确的时间哦!源代码在VC6.0下编译通过,程序不管是从学习角度还是使用角度都不错,点一下鼠标你的电脑时间就会自动更正至世界时间。右侧的列表内显示的是提供时间服务的服务器域名,当然你还可以收集更多的时间服务器地址,加入到列表中(This little program is more practical, you can synchronize your computer time world time server, this is the more accurate the time Oh! VC6.0 to compile the source code through the program regardless of the angle from the learning point of view or are good to use, point the mouse to your computer time is automatically corrected to the world time. The list on the right shows the domain name server to provide time service, of course, you can collect more time server address, adding to the list )
    2010-11-25 16:15:07下载
    积分:1
  • 20081122465071
    允许用户网络chat交流并且更新,共享文件 (Internet chat allows users to exchange and update, share files)
    2010-07-07 18:37:13下载
    积分: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
  • netstatp
    类似Windows的netstat程序的程序 (An app which is like to windowss netstat)
    2021-04-03 22:29:04下载
    积分:1
  • FANDISK
    典型的点云数据fandisk,适合点云研究者进行仿真,六千多个点(Typical fandisk point cloud data, suitable for researchers point cloud simulation, more than six thousand points)
    2014-12-22 19:31:17下载
    积分:1
  • ipv6
    ipv6地址转换器(ipv6 addresses converters)
    2004-07-14 15:02:10下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载