摘要随着信息革命的到来,使用网络工具进行沟通已经成为我们平常生活里不可或缺也脱离不开的一件事,相比较与使用手机通讯和短信沟通,它们过于繁琐和昂贵,而网络通信工具由于使用方便、传递信息的即时性,特别是众多青少年人的追捧和使用。更加关键的是网络工具给我们提供了一个低消费更便于沟通沟通的平台,这个网络工具平台拥有广泛性、即时性、便捷性,因而得到了广阔公司、事业单位、院校和民众的认可,本论文叙述的是一种基于利用TCP/IP 协议的、利用数据流的存储和读取、C/S 框架结构模式、多线程、实现设计点对点和点对面通信的一个多人网络连天工具,可以进行私聊、群聊、文件传输等.关键词:Java;聊天室;线程;协议;数据流;C/S 结构;AbstractWith the advent of the information revolution, using networking tools to communicate one thing has become indispensable in our daily life are inseparable from the comparison with the use of mobile communications and text messaging communication, they are too cumbersome and costly, and online communication tools due to ease of use, instant transfer of information, especially the many young people to the pursuit and use. More critical is networking tools provides us with a low consumption easier communication platform, the network platform has extensive tools, immediacy, convenience, and therefore get the majority of companies, institutions, universities and public recognition, this paper describes is based on the use of TCP / IP protocol, the use of storage and reading of data flow, C / S frame mode, multi-threaded, to implement a multiplayer online groaning tool design point and point opposite the communications, you can private chat, group chat, file transfer, and so on.Keywords: Java; chat rooms; thread; protocol; data stream; C / S structure;目录第 1 章 绪论..................................................................................................................31.1 选题背景...............