编程读取网络内计算机名ip,1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资...

other.822ee97.svg

1) 利用InetAddress类的方法获取主机的名称和IP地址。

2) 利用URL类获取网络资

date.3eb157a.svg 2016-08-23

download.6ba983b.svg 1

like.c3fecac.svg 0

collect.7885582.svg 0

暂无评分

classify.a4b5ff3.svg

其他

points_download.f07a5fb.svg 1

积分下载

question.a371923.svg

如何获取积分?

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值