haXe API Documentation
Back |
Indexclass sys.net.Host
Available in neko, php, cpp
A given IP host name.
- var ip(default,null) : Int
- The actual IP corresponding to the host.
- function new(name : String) : Void
- 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.
- function reverse() : String
- Perform a reverse-DNS query to resolve a host name from an IP.
- function toString() : String
- Returns the IP representation of the host
- static function localhost() : String
- Returns the local computer host name
Back |
Index