ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flash.net 

IPVersion  - AS3

Packageflash.net
Classpublic final class IPVersion
InheritanceIPVersion Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The IPVersion class defines constants representing the different families of IP addresses.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
      IPV4 : String = "IPv4"
[static] An Internet Protocol version 4 (IPv4) address.
IPVersion
      IPV6 : String = "IPv6"
[static] An Internet Protocol version 6 (IPv6) address.
IPVersion
Constant Detail
    

IPV4

Constant
public static const IPV4:String = "IPv4"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

An Internet Protocol version 4 (IPv4) address.

IPv4 addresses are expressed in ActionScript as a string in dot-decimal notation, such as: "192.0.2.0".

    

IPV6

Constant 
public static const IPV6:String = "IPv6"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

An Internet Protocol version 6 (IPv6) address.

IPv6 addresses are expressed in ActionScript as a string in hexadecimal-colon notation and enclosed in brackets, such as: "[2001:db8:ccc3:ffff:0:444d:555e:666f]".