基于Socket的多客户端网络聊天系统的开发与设计(4)

时间:2025-07-11

基于Socket的简易网络聊天系统的开发与设计

Development and design of multiple client network chat system

based on Socket

Student:zhuang wei jie(Faclty Asviser:lin jian bing)

Abstract: With the development of network technology in the campus of popularization, chat

tools has become an indispensable tool in exchange, more and more students of all

ages. There are a lot of good chat tools on the market, with the most extensive and

most accepted with Tencent QQ, MSN, Renren and so on, but the client chat tool is

designed according to the characteristics of internal school which occupies a space

for one person in the industry in the Internet chat. The development of this system

is mainly two aspects of server and client. The server through socket to establish a

connection with the server, the server will accept the request of the client, and

according to the requirements of the client message forwarding, refresh user

information. The latter through a connection with the server, carries on

communication between P2P client. Which uses the principle of LAN

communication mechanism, establish multi thread mechanism by implementing

the Runnable interface. Computer network programming technology is used in the

development, such as C\/S model, multithreading technology, network

communication etc.. In the network communication, reading messages and send

messages, is to achieve the exchange using Stream, which introduced the exchange

to achieve a construction of information, including the basic methods of software

engineering. Through these analyses, the client chat tool system using Java

language, the system is based on Eclipse platform. First establishes the system

application prototype, then revised and improved, until the complete release

system.

Key words: LAN Chat Socket Java Eclipse

2

基于Socket的多客户端网络聊天系统的开发与设计(4).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219