Description: 这个一个远程方法调用(RMI)例子,客户端获取上次登陆的时间.这里的服务器要连上 sqlServer,来存储不同用户登陆的时间.-this a remote method invocation (RMI) example, client access to the last landing time. here the server to connect sqlServer. different users to store landing time. Platform: |
Size: 116736 |
Author:邹文科 |
Hits:
Description: java网络编程经典实例
实例61 从网络取得文件
实例62 TCP服务器端
实例63 TCP客户端
实例64 UDP服务器模型
实例65 UDP客户端模型
-java network programming classic example of 61 examples of documents from the network to obtain examples of 62 TCP server-side examples of 63 TCP Example 64 UDP client server model examples 65 UDP client model Platform: |
Size: 81920 |
Author:李杰 |
Hits:
Description: 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 Platform: |
Size: 9216 |
Author:yixing |
Hits: