Skip to content

Commit

Permalink
In socket.ioctl, :platform: -> .. availability::
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Nov 22, 2024
1 parent d24a22e commit 0c7def9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1596,8 +1596,6 @@ to sockets.

.. method:: socket.ioctl(control, option)

:platform: Windows

The :meth:`ioctl` method is a limited interface to the WSAIoctl system
interface. Please refer to the `Win32 documentation
<https://msdn.microsoft.com/en-us/library/ms741621%28VS.85%29.aspx>`_ for more
Expand All @@ -1609,9 +1607,12 @@ to sockets.
Currently only the following control codes are supported:
``SIO_RCVALL``, ``SIO_KEEPALIVE_VALS``, and ``SIO_LOOPBACK_FAST_PATH``.

.. availability:: Windows

.. versionchanged:: 3.6
``SIO_LOOPBACK_FAST_PATH`` was added.


.. method:: socket.listen([backlog])

Enable a server to accept connections. If *backlog* is specified, it must
Expand Down

0 comments on commit 0c7def9

Please sign in to comment.