Design of LAN Chat System Based on Socket Interface
Based on the research of TCP/IP communication protocol,this article designs a local area network instant messaging system based on Java platform.The system utilizes Wi Fi local area network,adopts C/S framework,and each Java client transmits text messages based on Socket.It can achieve functions such as registration,login,online chat,and offline message ac-quisition.This system also adopts multithreading technology to achieve concurrent communica-tion between multiple clients and servers,which can effectively improve network resource utili-zation and alleviate communication pressure on servers.