diff options
author | Charles-François Natali <neologix@free.fr> | 2011-11-10 18:21:37 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-11-10 18:21:37 (GMT) |
commit | 10b8cf4455f48eba93077535e4d03eba2ee4bbfb (patch) | |
tree | 71ffb167f19f8c96177e9840d413c9d27d9a38da /Doc | |
parent | 0c929d9d397c2a2578a2b016ae9b3d258ab513aa (diff) | |
download | cpython-10b8cf4455f48eba93077535e4d03eba2ee4bbfb.zip cpython-10b8cf4455f48eba93077535e4d03eba2ee4bbfb.tar.gz cpython-10b8cf4455f48eba93077535e4d03eba2ee4bbfb.tar.bz2 |
Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/socket.rst | 24 | ||||
-rw-r--r-- | Doc/whatsnew/3.3.rst | 3 |
2 files changed, 22 insertions, 5 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 3d1a6a4..17a99e2 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -236,6 +236,19 @@ The module :mod:`socket` exports the following constants and functions: .. versionadded:: 3.3 +.. data:: AF_RDS + PF_RDS + SOL_RDS + RDS_* + + Many constants of these forms, documented in the Linux documentation, are + also defined in the socket module. + + Availability: Linux >= 2.6.30. + + .. versionadded:: 3.3 + + .. data:: SIO_* RCVALL_* @@ -407,14 +420,15 @@ The module :mod:`socket` exports the following constants and functions: Create a new socket using the given address family, socket type and protocol number. The address family should be :const:`AF_INET` (the default), - :const:`AF_INET6`, :const:`AF_UNIX` or :const:`AF_CAN`. The socket type - should be :const:`SOCK_STREAM` (the default), :const:`SOCK_DGRAM`, - :const:`SOCK_RAW` or perhaps one of the other ``SOCK_`` constants. The - protocol number is usually zero and may be omitted in that case or - :const:`CAN_RAW` in case the address family is :const:`AF_CAN`. + :const:`AF_INET6`, :const:`AF_UNIX`, :const:`AF_CAN` or :const:`AF_RDS`. The + socket type should be :const:`SOCK_STREAM` (the default), + :const:`SOCK_DGRAM`, :const:`SOCK_RAW` or perhaps one of the other ``SOCK_`` + constants. The protocol number is usually zero and may be omitted in that + case or :const:`CAN_RAW` in case the address family is :const:`AF_CAN`. .. versionchanged:: 3.3 The AF_CAN family was added. + The AF_RDS family was added. .. function:: socketpair([family[, type[, proto]]]) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index bfc5ed6..911d8d9 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -495,6 +495,9 @@ socket (Contributed by Matthias Fuchs, updated by Tiago Gonçalves in :issue:`10141`) +* The :class:`~socket.socket` class now supports the PF_RDS protocol family + (http://en.wikipedia.org/wiki/Reliable_Datagram_Sockets and + http://oss.oracle.com/projects/rds/). ssl --- |