File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ it will unlink the Unix domain socket as well. For example,
38
38
socket outside of these abstractions, the user will need to remove it. The same
39
39
applies when a Node.js API creates a Unix domain socket but the program then
40
40
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.
42
45
43
46
On Windows, the local domain is implemented using a named pipe. The path _ must_
44
47
refer to an entry in ` \\?\pipe\ ` or ` \\.\pipe\ ` . Any characters are permitted,
You can’t perform that action at this time.
0 commit comments