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