如何在Java中获取远程主机名?

时间:2019-05-06 05:19:45

标签: java

我使用socket.getremotesocketaddress()获得了远程客户端ip。 有没有办法使用此ip获取客户端的主机名?

0 个答案:

没有答案