- 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!
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 theServerobject 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!