InetAddress.getHostName

InetAddress.getHostName

Class Overview | Class Members | This Package | All Packages

Syntax
public String getHostName()
Returns
the host name for this IP address.
Description
Returns the hostname for this address. If the host is equal to null, then this address refers to any of the local machine's available network addresses.