Skip to content

docs clarification #1080

Closed
Closed
@boneskull

Description

@boneskull
  • Node.js Version: 9.4.0
  • OS: macos
  • Scope (install, code, runtime, meta, other?): docs
  • Module (and version) (if relevant): net

I'm checking out the documentation on IPC connections, but the wording is unclear to me.

It says (basically) that a named pipe in UNIX "persist until unlinked". This seems to imply that one must manually unlink when finished using it. This is untrue, because calling close() on the Server object will apparently do so for you (?).

In Windows, it claims pipes will "not persist", and are removed "when the last reference to them is closed". How exactly does this differ from the UNIX behavior? Does it have something to do with garbage collection, or the socket object falling out of scope...?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions