| @IPNAME | Not in LE |
|
|
||
@IPNAME[numeric_IP] : Returns the host name for the specified numeric_IP address. An IP address 0 returns the name of the current local host (usually the computer name). The IP address can be expressed in the common format nnn.nnn.nnn.nnn or as a packed decimal. An invalid or unknown IP address returns an error (see @ERRTEXT to decipher the error number if necessary).
See also: @IPADDRESS.
Example:
echo %@ipname[192.220.109.228]
echo %@ipname[3235671524]
echo %@ipname[0]