基于TCPIP的局域网聊天室的设计与实现精选.doc
文本预览下载声明
基于
摘 要
局域网Abstract
With the development of computer network technology, a variety of Web-based applications also will be the birth, such as Internet-based information release, communications, data sharing, and so on. LAN development is quickly. Many government agencies, businesses, schools, are first linked together in a unified LAN, respectively connected to the INTERNET, LAN-based instant messaging tool, and thus came into being. In this paper, a more rational design, in WINDOWS platform to achieve integrated in this realization of the client and server in different parallel tasks within a program, multi-threaded. And the design of user-friendly interface, easy to use and very reasonable, and easy expansion and customization. LAN chat system to a specific shared memory data exchange between process and use the windows message mechanism to achieve inter-process synchronization, the two mechanisms used in conjunctionLAN chat room as a new chat tool that can provide the advantages of more timely, reliable, broke the need of outside network access, has a very wide range of development prospects.
This article describes a JAVA Programming LAN chat system, a more common solution. TCP mode, text chat, peer-to-peer (C / C) between the client. The system uses the framework of a typical C / S (Client / Server) mode, the program using the Socket (socket) the principle of network communication, and ultimately the transit through the server, text chat, file transfer capabilities, which greatly reduces the difficulty of program development.The system includes landing, chat, friend lists, and server management of several parts. The system needs analysis, system design, the realization of functions strictly follow the idea of software engineering.
【Key words】Socket;TCP/IP;C/S;Local Area Network Chat Room
目 录
第1章 引言 1
1.1课题背景 1
1.2国内外研究现状 2
1.3主要内容 3
第2章 局域网聊天室系统分析 4
2.1系统需求分析 4
2.1.1功能需求 4
2.1.2系统基本流程图 4
2.1.3性能要求 5
2.1.4测试环境规定 5
2.2可行性研究 5
2.2.1成本可行性分析 5
2.2.2技术可行性分析 6
2.3系统开
显示全部