Function getaddrinfo

  • Basic DNS resolution using getaddrinfo(3).

    Parameters

    • node: string

      Hostname to be looked up.

    • Optional service: string | number

      Service / port to be looked up.

    • Optional hints: Hints

      Criteria for selecting the results.

    Returns Promise<Addrinfo[]>

Generated using TypeDoc