首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资源。 3) 使用Socket编程:客户机发送数据到服务器...

1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资源。 3) 使用Socket编程:客户机发送数据到服务器...

  • 资源大小:53.84 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Java Develop java

资 源 简 介

1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资源。 3) 使用Socket编程:客户机发送数据到服务器,服务器将接收到的数据返回给客户机,运用多线程机制,实现服务器同时处理多个客户机的请求。 4) 使用UDP编程:客户机发送数据到服务器,服务器将接收到的数据返回给客户机, 实现一个模拟电子邮件的发送和接收的UDP程序。 -1) using InetAddress class method to get the host name and IP address. 2) the use of URL-type access network resources. 3) the use of Socket Programming: client sends data to the server, the server will receive the data back to the client, using multi-thread mechanism, the realization of the server to handle multiple client requests. 4) the use of UDP programming: client sends data to the server, the server will receive the data back to the client to achieve a simulated e-mail sending and receiving the UDP process.

文 件 列 表

JAVA服务器+支持多客户端(有图片)
EX7_2.jpg
Ext7_Client.java
Ext7_Client$koLis.class
Ext7_Client$Receiver.class
Ext7_Client.class
Ext7_Server.java
Ext7_Server.class
EX7_1.jpg
VIP VIP
0.184393s