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