节点文献
基于Java Socket的聊天室系统设计与实现
Design & Implement of Chat System Based on Java Socket
【摘要】 Socket(套接字)是一种网络编程接口。介绍了Socket的通信机制,建立了一个基于Java Socket的聊天室系统。该系统能够实现公共聊天和私人聊天,允许在网络上有多个Server,客户端根据输入Server的IP地址连入相应的服务器参与聊天活动,服务器上显示当前在线的用户信息,并对用户进入或断开的信息加以显示。
【Abstract】 Windows Socket is a network programming interface.This paper introduced the mechanism of communications based on Socket API,and designed a chat system based on Java Socket.This system implemented public chatting and private chatting,and allowed several servers be on the network.The client connected with compatible server and joined chatting according to the IP of server inputted.In the mean time,all clients’ information on line was displayed on the servers,and all messages of clients’ login or exit were displayed also.
- 【文献出处】 微处理机 ,Microprocessors , 编辑部邮箱 ,2010年05期
- 【分类号】TP311.52
- 【被引频次】14
- 【下载频次】1135