Host

class sys.net.HostAvailable in neko, php, cpp, cs, javaA given IP host name. var ip(default,null) : IntThe actual IP corresponding to the host. function new( name : String ) : VoidCreates 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() : StringPerform a reverse-DNS query to resolve a host name from an IP. function toString() : StringReturns the IP representation of the host static function localhost() : StringReturns the local computer host name
version #17638, modified 2013-02-25 00:00:10 by api
0 comment