Skip to content

Commit ec9bb1c

Browse files
authored
doc: add path length note to connect/listen (#43281)
Ref: http://docs.libuv.org/en/v1.x/pipe.html
1 parent d16f480 commit ec9bb1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/Sockets/src/PipeServer.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ end
7070
listen(path::AbstractString) -> PipeServer
7171
7272
Create and listen on a named pipe / UNIX domain socket.
73+
74+
!!! note
75+
Path length on Unix is limited to somewhere between 92 and 108 bytes (cf. `man unix`).
7376
"""
7477
function listen(path::AbstractString)
7578
sock = PipeServer()
@@ -93,5 +96,8 @@ end
9396
connect(path::AbstractString) -> PipeEndpoint
9497
9598
Connect to the named pipe / UNIX domain socket at `path`.
99+
100+
!!! note
101+
Path length on Unix is limited to somewhere between 92 and 108 bytes (cf. `man unix`).
96102
"""
97103
connect(path::AbstractString) = connect(PipeEndpoint(), path)

0 commit comments

Comments
 (0)