PackageC.netdb
Classpublic class hostent
Inheritancehostent Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

A structure containing information about an internet host.



Public Properties
 PropertyDefined By
  h_addr : *
[read-only] Commonly defined alias for h_addr_list[0]
hostent
  h_addr_list : Array
An array of network addresses (in network byte order) for the host.
hostent
  h_addrtype : int
Address type.
hostent
  h_aliases : Array
An array of alternative host names.
hostent
  h_length : int
The length, in bytes, of the address.
hostent
  h_name : String
Official name of the host.
hostent
Public Methods
 MethodDefined By
  
hostent(h_name:String = "", h_aliases:Array = null, h_addrtype:int = 0, h_length:int = 0, h_addr_list:Array = null)
hostent
 Inherited
_init():*
[static]
_init
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
 Inherited
AS3
  
hostent
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
 Inheritedlength : int = 1
[static]
length
Property Detail
h_addrproperty
h_addr:*  [read-only]

Commonly defined alias for h_addr_list[0]


Implementation
    public function get h_addr():*
h_addr_listproperty 
public var h_addr_list:Array

An array of network addresses (in network byte order) for the host.

h_addrtypeproperty 
public var h_addrtype:int

Address type.

h_aliasesproperty 
public var h_aliases:Array

An array of alternative host names.

h_lengthproperty 
public var h_length:int

The length, in bytes, of the address.

h_nameproperty 
public var h_name:String

Official name of the host.

Constructor Detail
hostent()Constructor
public function hostent(h_name:String = "", h_aliases:Array = null, h_addrtype:int = 0, h_length:int = 0, h_addr_list:Array = null)



Parameters
h_name:String (default = "")
 
h_aliases:Array (default = null)
 
h_addrtype:int (default = 0)
 
h_length:int (default = 0)
 
h_addr_list:Array (default = null)
Method Detail
toString()method
public function toString():String

Returns
String