Skip to main content

mergNICIPInfo

Type​

function

Summary​

Get a property of an interface IP

Syntax​

mergNICIPInfo(<pInterface>, <pIP>, <pProperty>, [<pVersion>])

Description​

Get a property of an interface IP

Parameters​

NameTypeDescription

pInterface

an interface as returned by mergNICInterfaces()

pIP

the IP number as there mayy be more than one on an interface. Should be between 1 and mergNICIPCount()

pProperty

the property you would like to get. One of:

  • IP : returns an IP address for the interface
  • netmask : returns a netmask for the interface
  • broadcast : returns a broadcast ip for the interface

pVersion

(optional with "v4" default) an IP version number. One of:

  • v4 : IPv4
  • v6 : IPv6

Value​

NameTypeDescription

return

The value of the property

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?