diff options
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/udp.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/src/udp.rst b/docs/src/udp.rst index 827fbaad..3a7c6db4 100644 --- a/docs/src/udp.rst +++ b/docs/src/udp.rst @@ -54,6 +54,14 @@ Data types */ UV_UDP_MMSG_FREE = 16, /* + * Indicates if IP_RECVERR/IPV6_RECVERR will be set when binding the handle. + * This sets IP_RECVERR for IPv4 and IPV6_RECVERR for IPv6 UDP sockets on + * Linux. This stops the Linux kernel from supressing some ICMP error messages + * and enables full ICMP error reporting for faster failover. + * This flag is no-op on platforms other than Linux. + */ + UV_UDP_LINUX_RECVERR = 32, + /* * Indicates that recvmmsg should be used, if available. */ UV_UDP_RECVMMSG = 256 @@ -178,7 +186,8 @@ API with the address and port to bind to. :param flags: Indicate how the socket will be bound, - ``UV_UDP_IPV6ONLY`` and ``UV_UDP_REUSEADDR`` are supported. + ``UV_UDP_IPV6ONLY``, ``UV_UDP_REUSEADDR``, and ``UV_UDP_RECVERR`` + are supported. :returns: 0 on success, or an error code < 0 on failure. |