Function fromIPv4MappedIPv6

  • Extracts the IPv4 portion out of the IPv4 mapped IPv6 address. Can handle both the dotted decimal and hex variants.

    1. ::ffff:7f00:1
    2. ::ffff:127.0.0.1 Always returns the dotted decimal variant.

    Parameters

    • host: string

    Returns Host

Generated using TypeDoc