文件名称:java_chat
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 268kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用JAVA实现的会话程序
1 编程环境:JCreator——提交的程序为*.java和*.class,在命令行下可以运行。
2 服务器端的命令可以随机输入(您可以输入20个,也可以输入其余任意个)。
‘a’,’b’,’c’,’d’分别代表“上”,“下”,“左”,“右”。END代表结束。
3 客户端显示接收的命令和操作者的按键情况(Ctrl+“上、下、左、右”)
4 客户端每接收一条命令,便向服务器端报告一次执行情况(“正确/错误”),并在服务器端显示
5 在服务器端输入END然后回车,则会话结束,客户端窗口关闭。
-JAVA program to achieve the session with a programming environment: JCreator- the procedures for the submission of*. java and*. class, you can run the command line. 2 on the server side command to random input (you can enter 20, you can enter any number of other). ' A' , ' b' , ' c' , ' d' represent the " on" and " down" , " left" and " right." END behalf of the end. 3 shows the client receives the command and the operator' s keystrokes (Ctrl+ " up, down, left, right" ) 4 for each client receives a command, Pianxiang the first performance report on the server side (" right/wrong" ), and On the server side show the 5 on the server side input END and press Enter, then the session ends, the client window is closed.
1 编程环境:JCreator——提交的程序为*.java和*.class,在命令行下可以运行。
2 服务器端的命令可以随机输入(您可以输入20个,也可以输入其余任意个)。
‘a’,’b’,’c’,’d’分别代表“上”,“下”,“左”,“右”。END代表结束。
3 客户端显示接收的命令和操作者的按键情况(Ctrl+“上、下、左、右”)
4 客户端每接收一条命令,便向服务器端报告一次执行情况(“正确/错误”),并在服务器端显示
5 在服务器端输入END然后回车,则会话结束,客户端窗口关闭。
-JAVA program to achieve the session with a programming environment: JCreator- the procedures for the submission of*. java and*. class, you can run the command line. 2 on the server side command to random input (you can enter 20, you can enter any number of other). ' A' , ' b' , ' c' , ' d' represent the " on" and " down" , " left" and " right." END behalf of the end. 3 shows the client receives the command and the operator' s keystrokes (Ctrl+ " up, down, left, right" ) 4 for each client receives a command, Pianxiang the first performance report on the server side (" right/wrong" ), and On the server side show the 5 on the server side input END and press Enter, then the session ends, the client window is closed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ChatServer.java
程序说明文档.doc
ChatClient$1.class
ChatClient.class
ChatClient.java
ChatServer$1.class
ChatServer.class
程序说明文档.doc
ChatClient$1.class
ChatClient.class
ChatClient.java
ChatServer$1.class
ChatServer.class