package sys.net
Available on cs, php, neko, cpp, macro, java, lua, python, hl
A given IP host name.
staticlocalhost():StringAvailable on cs, php, neko, cpp, java, lua, python, hl
Returns the local computer host name
staticlocalhost():UnknownAvailable on macro
Returns the local computer host name
new(name:String)Creates a new Host : the name can be an IP in the form "127.0.0.1" or an host name such as "google.com", in which case the corresponding IP address is resolved using DNS. An exception occur if the host name could not be found.
read onlyhost:StringThe provided host string.
read onlyhostEntry:IPHostEntryAvailable on cs
read onlyip:IntAvailable on cs
read onlyip:IntAvailable on php, neko, cpp, macro, java, lua, python, hl
The actual IP corresponding to the host.
read onlyipAddress:IPAddressAvailable on cs
reverse():StringAvailable on cs, php, neko, cpp, java, lua, python, hl
Perform a reverse-DNS query to resolve a host name from an IP.
reverse():UnknownAvailable on macro
Perform a reverse-DNS query to resolve a host name from an IP.
toString():StringAvailable on cs, php, neko, cpp, java, lua, python, hl
Returns the IP representation of the host
toString():UnknownAvailable on macro
Returns the IP representation of the host
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/sys/net/Host.html