[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

IPUtilities

inherits from Object

Object <- IPUtilities



Operations

Get list of all operations

IPAddressToText
MakeIPAddress
TextToIPAddress


Attributes

Get list of all attributes

Class IPUtilities defines no new attributes.


Fields

No fields are defined by IPUtilities or any of its superclasses.


Instance template

instance IPUtilities tag;
end instance;

Class definition

Define Class IPUtilities;
    inherits from Object;

    intrinsic MakeIPAddress(hostName: Text): Unsigned;
        // returns the IP address for a 'hostName' of the form "1.2.3.4" or
        // "host.acme.net", invoking DNS if necessary.  This method conveniently
        // wraps TextToIPAddress & GetHostByName(iDNSResolver,...) in a single call.

    intrinsic IPAddressToText(ipAddress: Unsigned): Text;
        // converts 0x01020304 -> "1.2.3.4"
    intrinsic TextToIPAddress(dottedText: Text): Unsigned;
        // converts "1.2.3.4" -> 0x01020304
end class;