通过 getRemoteAddr 和 getRemoteHost 方法分别可以得到 IP 地址和客户端机器的名称。两个方法都返回 String 类型的数据。利用 InetAddress . getByName ( )方法可以将 ...
確定! 回上一頁