From 79d836b996a926b43076c8b5267d10c731c3e210 Mon Sep 17 00:00:00 2001 From: twosee Date: Sat, 19 Jun 2021 11:38:03 +0800 Subject: [PATCH] doc: more accurate list of valid send_handle's PR-URL: https://github.com/libuv/libuv/pull/3201 Reviewed-By: Jameson Nash --- docs/src/stream.rst | 5 +++-- 1 file 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)