基于Visual_C 6.0的点对点文件传输实现.docx学科分类号: 08 本科生毕业设计 题目(中文):基于Visual C++ (英文): Design and Realization of Point-to-Point Files Transfer with Visual C++ 学生姓名: 学号 系 咅E: 专业年级: 2 指导教师: 职 称: 摘要 I 关键词 I Abstract I Key words I 第一章绪论 1 1 1 3 第二章TCP/IP技术与C/S模式 4 1 TCP/IP 技术 4 1. 1 TCP/IP 体系结构 4 1. 2 TCP/IP 特点 5 1. 3 TCP/IP传送文件机制 6 7 第三章Winsock网络程序设计技术 8 1 Winsock 简介 8 2 Winsock 通信机制 9 3 Winsock 编程模型 11 3. 1 建立一个 Socket 11 3. 2 配置一个 Socket 11 3. 3 使用 Socket 12 第四章系统方案设计 14 1B/S结构与C/S结构的选择 14 1. 1 B/S结构与C/S结构 14 C/S模式的采用 15 2文件传输协议的比较 16 2. 1早期文件传输协议的研究比较 16 2. 2 HTTP协议传输文件的方式 17 FTP文件传输协议的研究 18 18 第五章系统详细设计 20 1系统总体设计 20 21 2. 1服务器模块 21 2. 2客户端模块 25 2. 3界血显示模块 26 致谢 28 参考文献 29 基于Visual C++6. 0的点对点文件传输实现 摘要:近年来,随着Internet的发展和普及,人们对网络传输的需求量越来越大,远程教育、 网络会议等众多新兴软件的产生,对大文件的传输问题提出了挑战。传统的大文件传输通常在客户 端建立一个较大的Buffer缓冲区,这样不仅会大量占用系统资源,而且传输的速度十分缓慢,不能 实时地显示传输进度。由于传输的时间比较长,期间发生中断或计算机重启等意外的可能性非常高。 本文件传输系统的设计选用VC++,以C/S模式通过建立Socket连接后实现局域 网快速,准确,安全的点对点文件传输功能。本系统能够促进局域网内用户之间的文件资源共享, 满足主机之间信息交流,确保文件传输安全性,有效地提高工作效率。 关键词:套接字,网络编程,C/S模式,TCP/IP Design and Realization of Point-to-Point Files Transfer with Visual C++ Abstract: In recent years, with the development and popularization of Internet, there is a growing demand for network transmission. Distant education,web conference, and many other new softwares are come into being. It gives the large challenges to transmission of large files on the is sues. Traditional files transfer is usually establish a larger buffer in the client, so that it will occupy many system resources and result very slow speed of files transfer, so it also can not be displayed in the real-time transmission progress. Transfer files for long time may cause some accidents such as interrupting or restarting the compute匚 The system with the Visual C++ establishs a socket connection in local area network based on C/S mode for a fast,exact
基于Visual C 6.0的点对点文件传输实现 来自淘豆网m.daumloan.com转载请标明出处.