文件名称:TCP_UDPreservemsg
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-03-14
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- yix***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.Run Server.java first to monitor
2.read n_port. In this program and the n-port are 6060.
3.In the Client window, you will see
"Remember the n_port and r_port are both 6060"
"Please input the host name of server"
4.Since I tested the program on computer with number ENVGEDDES27.NEXUS.UWATERLOO.CA
type "ENVGEDDES27.NEXUS.UWATERLOO.CA" and press "enter"
5.The Client window will show
"Sever host name is: ENVGEDDES27.NEXUS.UWATERLOO.CA"
"Please input a introduction:"
6.Type who you are and say hello. For example:
"Hello, this is Mary"
7.At this time, the Client machine will remind you to input message:
"please input msg:"
8.Type what you want to say. For example:
"Nice to meet you!"
9.The program will show:
"FROM SERVER: .uoy teem ot eciN"
and remind you the program is end:
"end"-Use TCP and UDP to send and reseive msg and reserve it
2.read n_port. In this program and the n-port are 6060.
3.In the Client window, you will see
"Remember the n_port and r_port are both 6060"
"Please input the host name of server"
4.Since I tested the program on computer with number ENVGEDDES27.NEXUS.UWATERLOO.CA
type "ENVGEDDES27.NEXUS.UWATERLOO.CA" and press "enter"
5.The Client window will show
"Sever host name is: ENVGEDDES27.NEXUS.UWATERLOO.CA"
"Please input a introduction:"
6.Type who you are and say hello. For example:
"Hello, this is Mary"
7.At this time, the Client machine will remind you to input message:
"please input msg:"
8.Type what you want to say. For example:
"Nice to meet you!"
9.The program will show:
"FROM SERVER: .uoy teem ot eciN"
and remind you the program is end:
"end"-Use TCP and UDP to send and reseive msg and reserve it
(系统自动生成,下载前可以参看下载内容)
下载文件列表
20496060_cs436A1
................\Client.class
................\Client.java
................\Client.txt
................\makefile
................\makefile_txt.txt
................\readme.txt
................\Server.class
................\Server.java
................\Server.txt