doc: clarify platform specific pipe naming
Pipe naming conventions differ on Windows and Unix. This commit calls out the naming conventions and requirements. PR-URL: https://github.com/libuv/libuv/pull/1765 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
This commit is contained in:
parent
61a8d97ad9
commit
9afb013574
@ -290,7 +290,9 @@ A client which wants to connect to a domain socket will use::
|
||||
|
||||
void uv_pipe_connect(uv_connect_t *req, uv_pipe_t *handle, const char *name, uv_connect_cb cb);
|
||||
|
||||
where ``name`` will be ``echo.sock`` or similar.
|
||||
where ``name`` will be ``echo.sock`` or similar. On Unix systems, ``name`` must
|
||||
point to a valid file (e.g. ``/tmp/echo.sock``). On Windows, ``name`` follows a
|
||||
``\\?\pipe\echo.sock`` format.
|
||||
|
||||
.. _socat: http://www.dest-unreach.org/socat/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user