Skip to content

net.Server.address() returns a string instead of an object for Pipes #12895

@Flarna

Description

@Flarna
  • Version: 6.10.0
  • Platform: Windows
  • Subsystem: net

According to the documentation server.address() should return an object with port, family, and address properties but if I call it on a HTTP server connected via windows pipe (on IIS Node on Windows Azure) I get a plain string telling the pipe name.

Is this just a documentation issue or should the return value for the pipe case adapted somehow (even port/familiy doesn't make that much sense for a pipe).

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.netIssues and PRs related to the net subsystem.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions