Description: 在这篇免费的 dW 专有的独家教程中,我们将构建一个简单聊天系统的服务器和客户机方。您将在这个过程中学到创建这样一个服务器时可以用到的基本框架,该框架使用在很多情况下都能很好工作的传统技术。我们还将讨论框架的一些限制,并找到克服这些限制的方法。-in this free stochastic proprietary exclusive Guide, We will build a simple chat server and the client side. You will be in the process of trying to create such a server can use the basic framework, The framework used in many cases can the good work of traditional technologies. We will also discuss some of the constraints of the framework, and find a way to overcome these limitations method. Platform: |
Size: 891388 |
Author:张 |
Hits:
Description: 本程序是用JAVA写的,是一个算是简单的聊天程序,实现了客户机跟服务器的对话。可作为其他程序的子程序使用和作为JAVA初学者的参考程序。-this program is written in Java, is regarded as a simple chat program, to achieve a client with the server dialogue. Other procedures can be used as a subroutine and use as a reference Java beginners procedures. Platform: |
Size: 2357 |
Author:林翰 |
Hits:
Description: 客户端,服务器端的连接,用于一个简单的聊天室,实现两端的交互.-client, server connectivity for a simple chat room, to achieve two ends of the interaction. Platform: |
Size: 3921 |
Author:jessecom |
Hits:
Description: 在这篇免费的 dW 专有的独家教程中,我们将构建一个简单聊天系统的服务器和客户机方。您将在这个过程中学到创建这样一个服务器时可以用到的基本框架,该框架使用在很多情况下都能很好工作的传统技术。我们还将讨论框架的一些限制,并找到克服这些限制的方法。-in this free stochastic proprietary exclusive Guide, We will build a simple chat server and the client side. You will be in the process of trying to create such a server can use the basic framework, The framework used in many cases can the good work of traditional technologies. We will also discuss some of the constraints of the framework, and find a way to overcome these limitations method. Platform: |
Size: 890880 |
Author:张 |
Hits:
Description: 用JAVA编写的聊天程序,客户端与服务端集成在一个文件中,代码简洁,无多余复杂功能。-prepared with Java chat procedures, client and server integrated in a document, the code simple, non-redundant functional complex. Platform: |
Size: 1024 |
Author:流星雨 |
Hits:
Description: 本程序是用JAVA写的,是一个算是简单的聊天程序,实现了客户机跟服务器的对话。可作为其他程序的子程序使用和作为JAVA初学者的参考程序。-this program is written in Java, is regarded as a simple chat program, to achieve a client with the server dialogue. Other procedures can be used as a subroutine and use as a reference Java beginners procedures. Platform: |
Size: 2048 |
Author:林翰 |
Hits:
Description: 客户端,服务器端的连接,用于一个简单的聊天室,实现两端的交互.-client, server connectivity for a simple chat room, to achieve two ends of the interaction. Platform: |
Size: 4096 |
Author:jessecom |
Hits:
Description: 一个简单的用java编写的聊天工具,用socket类处理通信部分
1.
运行server.bat
或在命令行下输入(要在工作目录):
java -jar Chat.jar 8888
打开服务器 8888也可以改为任意端口号
2.
运行client.bat
或在命令行下输入(要在工作目录):
java -jar Chat.jar
打开客户端
3.
主要类说明:
Server.java 等待用户连接,连接后为当前用户创建ServerListener对象
ServerListener.java 接受用户请求,并将消息移入消息队列
Sender.java 消息发送器,用循环不断检查消息队列中是否有新消息,有则发送消息,被发送的消息移出队列
Client.java 接受信息,提供与界面之间的接口函数
Chat.java 主要是用户界面 -with a simple preparation of java chat tools, with socket type handling a part of communication. server.bat or running the command line input (to the Public for directory) : java-jar Chat.jar 8888 Open Server 8888 can also read arbitrary port 2 . client.bat or running the command line input (to the working directory) : java-jar Chat.jar Open Client 3. main categories : Server.java waiting for users to connect, after connecting to the current users to create object ServerListener ServerListener . java user request, the information will be relocated Message Queue Sender.java news transmitters, cyclic Message Queue constantly check whether there are new news, then send messages the news was sent out of Queue Client.java receive information, interface provides the interface between Chat.java m Platform: |
Size: 26624 |
Author:ZX |
Hits:
Description: 一个简单的server和client聊天程序,采用了多线程,可以实现多个client连接,并同时发送消息-a simple server and the client chat program, the use of multi-threading, many can achieve client connectivity, and also send messages Platform: |
Size: 5120 |
Author:张军 |
Hits:
Description: 一个用java实现的聊天软件,很具有参考价值,分客户端和服务端,简单明了,希望对大家有用。-with java achieve a chat software, it is very valuable, and at the client and server, simple and clear, We hope that the right useful. Platform: |
Size: 11264 |
Author:梅岩 |
Hits:
Description: JAVA做的一个简单的聊天室软件,含客户端和服务端程序,程序很简单,不过初学者可以研究一下,学习SOCKET编程及多线程的概念。-JAVA do a simple chat room software, including client and server procedures, the procedures are simple. But beginners can look at the study Socket Programming and multithreading concepts. Platform: |
Size: 5120 |
Author:chenwenbin |
Hits:
Description: 这是一个简单聊天室的客户端代码,和刚才发的服务器端的代码一起的-This is a simple chat client code, and just made a server-side code together Platform: |
Size: 2048 |
Author:张军 |
Hits:
Description: 简单聊天。一个客户端,一个服务器端。先启动客户端,再启动服务器端。-Simple chat. A client, a server-side. First start the client, and then restart the server side. Platform: |
Size: 10240 |
Author:liu |
Hits:
Description: 用Java实现简单的语音聊天和文字发送,首先运行服务器,接着再打开客户端,客户端和服务器就能进行文字传送和语音聊天-Using Java to achieve a simple voice chat and text sent, first of all, running a server, and then open the client, client and server will be able to send text and voice chat Platform: |
Size: 11264 |
Author:wulingling |
Hits:
Description: 主要是简单的service聊天程序,可以增加、删除等,分为客户端和服务器端-The main service is a simple chat program, you can add, delete and so on, is divided into client and server Platform: |
Size: 1753088 |
Author:吴量婷 |
Hits:
Description: 聊天系统雏形,包括服务器端,和客户端。代码很简单-Embryonic form of chat system, including server-side, and the client. Code is very simple Platform: |
Size: 9216 |
Author:LHQ |
Hits:
Description: 模拟最简易的聊天窗口界面,服务器和客户端程序,基于socket编程,窗口之间可相互通信-Analog most simple chat window interface, server and client program, based on socket programming to communicate with each other between the window Platform: |
Size: 4096 |
Author:pujing |
Hits:
Description: Java课程设计作品:一个简单的小型多人聊天室。运行服务器端server.java后,再运行客户端client.java即可。运行环境为Java编译器。-Java curriculum design work: a simple small-scale multiplayer chat room. After running a server-side server.java, then you can run the client client.java. Runtime environment for Java compiler. Platform: |
Size: 6144 |
Author:常非 |
Hits:
Description: java做的一个简单聊天多人程序,包括服务器端,和客户端,能实现实时的多人聊天。有改变字体大小、颜色、类型等功能。-java to do more than a simple chat program, including server-side, and the client, to achieve real-time multiplayer chat. Platform: |
Size: 7168 |
Author:朱前华 |
Hits:
Description: 本程序由一个server端和一个client端组成,一个简单的通信聊天小程序-a simple chat program in java,with a server and a client Platform: |
Size: 10240 |
Author:zhonghua liu |
Hits: