mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
This commit is contained in:
parent
99d66f917a
commit
ea93ac013d
6 changed files with 57 additions and 4 deletions
|
@ -329,12 +329,17 @@ Constants
|
|||
.. versionadded:: 3.3
|
||||
|
||||
|
||||
.. data:: SIO_*
|
||||
.. data:: SIO_RCVALL
|
||||
SIO_KEEPALIVE_VALS
|
||||
SIO_LOOPBACK_FAST_PATH
|
||||
RCVALL_*
|
||||
|
||||
Constants for Windows' WSAIoctl(). The constants are used as arguments to the
|
||||
:meth:`~socket.socket.ioctl` method of socket objects.
|
||||
|
||||
.. versionchanged:: 3.6
|
||||
``SIO_LOOPBACK_FAST_PATH`` was added.
|
||||
|
||||
|
||||
.. data:: TIPC_*
|
||||
|
||||
|
@ -996,6 +1001,12 @@ to sockets.
|
|||
On other platforms, the generic :func:`fcntl.fcntl` and :func:`fcntl.ioctl`
|
||||
functions may be used; they accept a socket object as their first argument.
|
||||
|
||||
Currently only the following control codes are supported:
|
||||
``SIO_RCVALL``, ``SIO_KEEPALIVE_VALS``, and ``SIO_LOOPBACK_FAST_PATH``.
|
||||
|
||||
.. 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue