摘要:随着互联网的快速发展,网络聊天工具已经作为一种重要的信息交流工具,受到越来越多的网民的青睐。该系统开发主要包括一个网络聊天服务器程序和一个网络聊天客户程序两个方面。前者通过Socket套接字建立服务器,服务器能读取、转发客户端发来信息,并能刷新用户列表。后者通过与服务器建立连接,来进行客户端与客户端的信息交流。其中用到了局域网通信机制的原理,通过直接继承Thread类来建立多线程。开发中利用了计算机网络编程的基本理论知识,如TCP/IP协议、客户端/服务器端模式(Client/Server模式)、网络编程的设计方法等。在网络编程中对信息的读取、发送,是利用流来实现信息的交换,其中介绍了对实现一个系统的信息流的分析,包含了一些基本的软件工程的方法。经过分析这些情况,该局域网聊天工具采用Eclipse为基本开发环境和java语言进行编写,首先可在短时间内建立系统应用原型,然后,对初始原型系统进行不断修正和改进,直到形成可行系统
关键词:VB;聊天管理;Socket,服务端,客户端
Abstract:With the rapid development of Internet, Web chat tool has been the exchange of information as an important tool by a growing number of Internet users of all ages. The system includes the development of an Internet chat server program and a network chat client two ways. The former established by Socket socket server, the server can read, forward, sent the client information, and to refresh the user list. The latter connection is established with the server to the client and client information exchange. Which uses the principle of local area network communication mechanisms, through the direct successor to the Thread class to create multi-threaded. Development of computer network programming using the basic theoretical knowledge, such as TCP / IP protocol, client / server mode (Client / Server mode), network programming design methods. Information in the network programming read, send, is the use of flow to achieve the exchange of information, which describes the realization of a system of information flow analysis, contains some basic software engineering methods. After analysis of these cases, the local area network chat tool as the basic development environment with Eclipse and java language written in a short time the first prototype application system, then, the initial prototype system, constantly revised and improved, until the formation of a viable system
Keywords :VB; chat management; Socket, server, client