网站大量收购独家精品文档,联系QQ:2885784924

毕业设计(论文)-基于JAVA的网络聊天程序设计.doc

毕业设计(论文)-基于JAVA的网络聊天程序设计.doc

  1. 1、本文档共57页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
编号 本科生毕业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)

***** + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档