InterSystems Programming Tools Index
IP Addresses
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Work with IP addresses (validate, get IP addresses, and so on).
Background Information
Caché always accepts IPv4 addresses and DNS forms of addressing (host names, with or without domain qualifiers). You can configure Caché to also accept IPv6 addresses; see IPv6 Support in the chapter “Configuring Caché” in the Caché System Administration Guide.
Available Tools
%NetworkAddress class
Datatype class that validates IP addresses and ports in the format IP|Port. The IP address can either be an IPV4, IPV6, or DNS name.
Availability: All namespaces.
%Function class
Provides the IPAddresses() method, which returns the IP addresses for a given host.
Availability: All namespaces.
%SYSTEM.INetInfo class
Provides an interface for internet address manipulation. These interfaces support both IPV6 and IPV4 internet addresses. Includes the following class methods:
Availability: All namespaces.
Reminder
The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().