摘要
实现网上在线交谈的关键是在两个在线用户之间建立数据交流通道,该通道可以通过基于Java的Socket来实现。利用Socket编程机制,不仅能用于客户机/服务器(Client/Server)的分布式计算模式,而且也能用于浏览器/服务器(Browser/Server)模式中的浏览器客户程序和服务器之间的通信。介绍了基于Java的Socket编程机制,并提出了利用Socket实现网上在线交谈的设计思路和设计方法。
The key of on-line talking in internet is to set up a channel of data communication between the on-line users. The channel can be set up by using socket of java. The socket can be used in not only the client/server distributing computing mode but also the data communication between the browser and server of browser/server mode. The methods of the socket of java were presented. How to realize the on-line talking in internet was also described.
出处
《计算机工程与设计》
CSCD
2004年第6期944-946,957,共4页
Computer Engineering and Design