diff options
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/udp.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/udp.rst b/docs/src/udp.rst index 3a7c6db4..009767d5 100644 --- a/docs/src/udp.rst +++ b/docs/src/udp.rst @@ -404,6 +404,11 @@ API :returns: 0 on success, or an error code < 0 on failure. + .. note:: + When using :man:`recvmmsg(2)`, the number of messages received at a time is limited + by the number of max size dgrams that will fit into the buffer allocated in `alloc_cb`, and + `suggested_size` in `alloc_cb` for udp_recv is always set to the size of 1 max size dgram. + .. versionchanged:: 1.35.0 added support for :man:`recvmmsg(2)` on supported platforms). The use of this feature requires a buffer larger than 2 * 64KB to be passed to `alloc_cb`. |