基于局域网的文件传输系统的设计与实现毕业设计(论文)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
本科毕业设计(论文)
题目:基于局域网的文件传输系统的
设计与实现
基于局域网的文件传输系统的设计与实现
摘要
在这个信息化时代,计算机网络技术的迅猛发展影响了几乎包括政治、文化、生活、经济在内的每一个角落,推动了人类社会向信息化社会的逐步转变;同时我们也应该清醒地认识到文件传输的问题是计算机网络发展过程中的一个不容忽视的问题。在如今拥塞的网络上,各种数据在争夺着网络资源,如何使传输的文件更加可靠的到达目的地,同时如何友好的解决文件分类分组高效传输等问题都是需要有待提高和完善的地方。很多情况下,人们的日常工作需要借助文件传输来完成。但大多数文件传输功能都需要借助移动磁盘等硬件设备或Internet上的服务器才能实现。这就给那些具有大规模内部网络的用户造成了许多问题,如浪费资金、浪费网络资源、病毒入侵、降低了工作效率等。为了方便局域网内主机的资源共享,需要开发一个基于局域网的文件传输工具,在内部网络中实现文件交换。
本文件传输系统的设计选用VC++6.0为开发工具,以C/S模式通过建立Socket连接后实现局域网快速,准确,安全的点对点文件传输功能。本系统能够促进局域网内用户之间的文件资源共享,满足主机之间信息交流,确保文件传输安全性,有效地提高工作效率。
关键字:套接字;网络编程;C/S模式;TCP/IP
Design and implementation of file transfer system based on
local area network
Abstract
In this information era, the rapid development of computer network technology has affected every corner almost, including politics, culture, life, economic, and promote the gradual transformation of human society to information society; We should also clearly recognize that the file transfer problem is a problem not to be ignored in the development of computer networks. In today's congested network, various data competing for network resources, how to make transmission more reliable, and how to resolve the efficient problem is need to be improved and perfected. In many cases, people's daily work is required to use file transfer to complete. But most of the file transfer capabilities require the removable disks and other hardware devices or servers on the Internet. This caused many problems for those large-scale internal network users, such as a waste of money, a waste of network resources, virus attacks, reduced work efficiency. In order to facilitate the sharing of resources of the host in the LAN, We need to develop a LAN-based file transfer tool for document exchanged in the internal network.
The file transfer system design uses VC++6.0 as development tools. By creating a C/S Socket connection to realize fast, accurate, secure peer-to-peer file transfer capabilities. The system can promote the sharing of files between the LAN user to meet the exchange of information between the host and ensure the file transfer security, and effectively improve work efficiency.
Key Words:Socket;Network programming;C/S mode;TCP/IP
目录
摘要............................................................................................................................ I ABSTRACT ............................................................................................................. II 1 绪论 .. (1)
1.1前言 (1)
1.2国内外研究现状 (1)
1.3课题研究的意义 (1)
1.4本文主要研究内容 (2)
2 系统需求分析 (3)
2.1现行业务系统描述 (3)
2.2现行系统主要存在的问题分析 (3)
2.3提出解决方案 (3)
3 TCP/IP协议 (5)
3.1开放式系统互连参考模型 (5)
3.2TCP/IP技术 (5)
3.2.1 TCP/IP体系结构 (6)
3.2.2 IP协议 (7)
3.2.3 TCP协议TCP/IP特点 (7)
3.2.4 TCP/IP传送文件机制 (8)
4 SOCKET网络程序设计技术 (10)
4.1S OCKET编程 (10)
4.1.1 Winsock简介 (10)
4.1.2 Winsock通信机制 (11)
4.1.3 Winsock编程模型 (13)
4.2主要函数介绍 (15)
4.3C/S构架 (20)