GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add doc for Unix abstract socket · nodejs/node@eecab88

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • net.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/net.md‎

Copy file name to clipboardExpand all lines: doc/api/net.md
+4-1Lines changed: 4 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ it will unlink the Unix domain socket as well. For example,
3838
socket outside of these abstractions, the user will need to remove it. The same
3939
applies when a Node.js API creates a Unix domain socket but the program then
4040
crashes. In short, a Unix domain socket will be visible in the file system and
41-
will persist until unlinked.
41+
will persist until unlinked. On Linux, You can use Unix abstract socket by adding
42+
`\0` to the beginning of the path, such as `\0abstract`. The path to the Unix
43+
abstract socket is not visible in the file system and it will disappear automatically
44+
when all open references to the socket are closed.
4245

4346
On Windows, the local domain is implemented using a named pipe. The path _must_
4447
refer to an entry in `\\?\pipe\` or `\\.\pipe\`. Any characters are permitted,

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.