IPADDRESS function
Synopsis
This function
returns the IP address of the current platform, as a string. If
used with a project running in emulation mode, it returns an empty
string.
Variations
IPADDRESS()
Returns the IP address of the first
network interface, listed in
Network Interfaces page of the
Platform Configuration dialog. This is best used with
platforms containing only one network interface (such as, a Matrox
Iris GTR or a PC with a single network card).
Details |
Examples |
Details and examples
Examples
1. |
The following example returns the IP address of the first
network interface.
IPADDRESS()
|
IPADDRESS(
NetworkInterfaceName)
Returns the IP address of the
specified network interface, listed in the
Network Interfaces page of the
Platform Configuration dialog. This is best used with
platforms containing multiple network interfaces (such as, a Matrox
4Sight GPm or a PC with multiple network cards).
Details |
Examples |
Details and examples
Examples
1. |
The following example returns the IP address of the specified
network interface (Network1).
IPADDRESS("Network1")
|