summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorShane Harvey <shnhrv@gmail.com>2021-07-14 22:53:15 (GMT)
committerGitHub <noreply@github.com>2021-07-14 22:53:15 (GMT)
commitd59d7374a364c4e5c2b9a83d8e4543ee494285b8 (patch)
treee53a89ab474d7671bd0e21fda5801bb4eda641de /Doc/library/socket.rst
parent2b47af63982e4ccc09ae14c7c66ba115804bbbf6 (diff)
downloadcpython-d59d7374a364c4e5c2b9a83d8e4543ee494285b8.zip
cpython-d59d7374a364c4e5c2b9a83d8e4543ee494285b8.tar.gz
cpython-d59d7374a364c4e5c2b9a83d8e4543ee494285b8.tar.bz2
bpo-34932: Add socket.TCP_KEEPALIVE for macOS (GH-25079)
Diffstat (limited to 'Doc/library/socket.rst')
-rwxr-xr-xDoc/library/socket.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index d67df47..5634d81 100755
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -381,6 +381,8 @@ Constants
.. versionchanged:: 3.10
``IP_RECVTOS`` was added.
+ Added ``TCP_KEEPALIVE``. On MacOS this constant can be used in the same
+ way that ``TCP_KEEPIDLE`` is used on Linux.
.. data:: AF_CAN
PF_CAN