diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-02-03 16:44:58 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-02-03 16:44:58 (GMT) |
commit | 9d6c66933a30d938bd883039b778266123500adf (patch) | |
tree | be03b235a350d59048f8fb73db560ad7805001f6 /Doc | |
parent | 61c4e10035aa1ffe5c0d78e5b918b8df4e20a263 (diff) | |
download | cpython-9d6c66933a30d938bd883039b778266123500adf.zip cpython-9d6c66933a30d938bd883039b778266123500adf.tar.gz cpython-9d6c66933a30d938bd883039b778266123500adf.tar.bz2 |
Issue #13777: Add PF_SYSTEM sockets on OS X.
Patch by Michael Goderbauer.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/socket.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index cb2ab23..6b7728f 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -99,6 +99,14 @@ created. Socket addresses are represented as follows: ``'can0'``. The network interface name ``''`` can be used to receive packets from all network interfaces of this family. +- A string or a tuple ``(id, unit)`` is used for the :const:`SYSPROTO_CONTROL` + protocol of the :const:`PF_SYSTEM` family. The string is the name of a + kernel control using a dynamically-assigned ID. The tuple can be used if ID + and unit number of the kernel control are known or if a registered ID is + used. + + .. versionadded:: 3.3 + - Certain other address families (:const:`AF_BLUETOOTH`, :const:`AF_PACKET`) support specific representations. |