@@ -314,8 +314,8 @@ Socket Option Linux FreeBSD Windows
314
314
**SO_SETFIB ** ✓ >= 7.1
315
315
**SO_PASSCRED ** ✓
316
316
**SO_PEERCRED ** ✓
317
- **SO_PASSSEC ** ✓ >= 2.6.18
318
- **SO_PEERSEC ** ✓ >= 2.6.18
317
+ **SO_PASSSEC ** ✓ >= 2.6.2
318
+ **SO_PEERSEC ** ✓ >= 2.6.2
319
319
**SO_BINDTODEVICE ** ✓
320
320
**SO_PRIORITY ** ✓
321
321
**SO_MARK ** ✓ >= 2.6.25
@@ -457,11 +457,11 @@ Socket Option Linux FreeBSD Windows
457
457
SO_SNDTIMEO
458
458
459
459
Specifies the amount of time send and receive calls for this socket will
460
- block before timing out. The default timeout of zero means that operations
460
+ block before timing out. The default timeout of zero means that operations
461
461
will never time out.
462
462
463
463
This is independent of :meth: `~socket.settimeout `.
464
-
464
+
465
465
On Linux this is a `struct timeval `, on Windows this is an integer.
466
466
467
467
.. Availability: Linux, Windows
@@ -505,7 +505,7 @@ Socket Option Linux FreeBSD Windows
505
505
506
506
.. versionadded :: 3.6
507
507
508
- .. Availability: Linux >= 2.6.13
508
+ .. Availability: Linux >= 2.6.2
509
509
510
510
.. data :: SO_BINDTODEVICE
511
511
@@ -542,12 +542,12 @@ Socket Option Linux FreeBSD Windows
542
542
Passing ``SO_DOMAIN `` to :meth: `~socket.getsockopt ` allows for the retrival
543
543
of the ``family `` value as defined in the :func: `socket.socket ` function.
544
544
``SO_PROTOCOL `` returns the ``proto `` value. The protocol value can be the
545
- exact protocol used such as ``IPPROTO_TCP `` even if 0 was passed in to specify
545
+ exact protocol used such as ``IPPROTO_TCP `` even if 0 was passed in to specify
546
546
the default protocol.
547
-
547
+
548
548
Both these options are read only.
549
549
550
- The value returned for the ``family `` is an integer which is the value of
550
+ The value returned for the ``family `` is an integer which is the value of
551
551
the constants above like :const: `AF_INET `. In order to get the const name
552
552
value back you can use the AddressFamily enum. ::
553
553
0 commit comments