aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authortwosee <twose@qq.com>2021-06-19 11:38:03 +0800
committerGitHub <noreply@github.com>2021-06-18 23:38:03 -0400
commit79d836b996a926b43076c8b5267d10c731c3e210 (patch)
treead928fa27f0d268a25c94c4a60698911e1398a27 /docs/src
parent99eb736b4c81c8a00aa52ebd75de7198fbbcddbe (diff)
downloadlibuv-79d836b996a926b43076c8b5267d10c731c3e210.tar.gz
libuv-79d836b996a926b43076c8b5267d10c731c3e210.zip
doc: more accurate list of valid send_handle's
PR-URL: https://github.com/libuv/libuv/pull/3201 Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/stream.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/src/stream.rst b/docs/src/stream.rst
index ca7e83f7..0b42c4b3 100644
--- a/docs/src/stream.rst
+++ b/docs/src/stream.rst
@@ -193,8 +193,9 @@ API
initialized with `ipc` == 1.
.. note::
- `send_handle` must be a TCP socket or pipe, which is a server or a connection (listening
- or connected state). Bound sockets or pipes will be assumed to be servers.
+ `send_handle` must be a TCP, pipe and UDP handle on Unix, or a TCP
+ handle on Windows, which is a server or a connection (listening or
+ connected state). Bound sockets or pipes will be assumed to be servers.
.. c:function:: int uv_try_write(uv_stream_t* handle, const uv_buf_t bufs[], unsigned int nbufs)