2. Address

Address manipulation routines

2.1. Summary of Module Globals

List of Global Functions

  • Check - Check syntax of a network address (IP address or hostname)

  • Check4 - Check syntax of a network address (ip4 or name)

  • Check6 - Check syntax of a network address (ip6 or name)

  • Valid4 - Return a description of a valid address (ip4 or name)

List of Global Variables

    2.2. Global Functions

    2.2.1. Check

    Check syntax of a network address (IP address or hostname)

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    2.2.2. Check4

    Check syntax of a network address (ip4 or name)

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    2.2.3. Check6

    Check syntax of a network address (ip6 or name)

    Function parameters

    • string address

    Return value

    • boolean - true if correct

    2.2.4. Valid4

    Return a description of a valid address (ip4 or name)

    Return value

    • string - description

    2.3. Global Variables

    2.4. Module Requirements

    2.4.1. Module Imports

    • Hostname
    • IP

    2.4.2. Module Includes