摘要
实现基于网络的在线聊天程序的关键是建立用户之间交流的数据通道,可以通过基于Java的Socket技术实现数据通道的建立与信息交换,用多线程技术实现多个客户端到服务器的多对一的聊天功能。
How realizes online chats the procedure key based on the network is to establish must exchange between user's data channel, may through realize data channel's establishment and the exchange of information based on the Java Socket technology, realizes many client sides to the server with the multi-thread technology many to one to chat the function.
出处
《电脑编程技巧与维护》
2010年第20期92-93,126,共3页
Computer Programming Skills & Maintenance