- 39
- 0
- 约6.2万字
- 约 63页
- 2016-08-14 发布于贵州
- 举报
JAVA网络聊天程序(毕业论文)
编号
本科生毕业Network chat program
学 生 姓 名 专 业 计算机科学与技术 学 号 指 导 教 师 学 院 计算机科学技术
2009年6月摘 要
随着互联网的快速发展,网络聊天工具已经作为一种重要的信息交流工具,受到越来越多的网民的青睐。目前聊天工具应用比较广泛的有Netmeeting、腾讯QQ、MSN-Messager等等。该系统开发主要包括一个网络聊天服务器程序和一个网络聊天客户程序。前者通过Socket套接字建立服务器,服务器能读取、转发客户端发来信息,并能刷新用户列表。后者通过与服务器建立连接,来进行客户端与客户端的信息交流。其中用到了局域网通信机制的原理,通过直接继承Thread类来建立多线程。经过分析这些情况,该局域网聊天工具采用Eclipse为基本开发环境和java语言进行编写,首先可在短时间内建立系统应用原型,然后,对初始原型系统进行不断修正和改进,直到形成可行系统。
关键词:网络 聊天 套接字 Java
Abstract
Along with the fast development of Internet, the network chating tool has already become one kind of important communication tools and received more and more web cams favor. At present, Chat tools have a broader application of Netmeeting, Tencent QQ, MSN-Messager, etc. This system development mainly includes two aspects of the server procedure of the network chat and the customer procedure of the network chat. The former establishes the server through the Socket, the server can read and deliver the information which client side sends, and can renovate the users tabulation. The latter make a connection with the server, carries on communication between the client side and the client side. After analyzes these situations, this LAN chating tool takes Eclipse as the basic development environment and compiles in java language. first, it will establish the system application prototype in a short time. then, for the initial prototype system, it needs constantly revised and improved, until a viable system.
Key words: Network Chat Socket Java
目 录
第一章 概论 - 1 -
1.1课题来源 - 1 -
1.2国内外研究现状 - 1 -
第二章 JAVA的网络功能与编程 - 3 -
2.1 JAVA概述 - 3 -
2.2 JAVA的特点 - 3 -
2.3 JAVA语言在网络上的应用 - 7 -
第三章 总体设计 - 9 -
3.1 需求分析 - 9 -
3.2 设计要点 - 9 -
3.3 功能模块及设计步骤 - 10 -
3.1.1 功能模块 - 10 -
3.1.2 设计步骤 - 10 -
第四章 详细设计与实现 - 12 -
4.1 开发环境 - 12 -
4.2 核心功能实现 - 12 -
4.2.1 Socket的简介 - 12 -
4.2.2 服务器与客户端之间的通信 - 14 -
4.2.3 流程图 - 15 -
4.3 功能模块的测试 - 18 -
总结 - 22 -
致 谢 - 23 -
参考文献 - 24 -
附录 - 25 -
第一章 概论
1.1课题来源
随着当前网络的迅速流行,网上聊天已经越来越受网民所青睐。因此开发网络聊天程序已
原创力文档

文档评论(0)