mirror of
https://github.com/python/cpython.git
synced 2025-11-14 15:56:48 +00:00
gh-64414: mention AF_INET6 and IPv6 in socketserver docs. (#129866)
mention AF_INET6 and IPv6 in socketserver docs.
This commit is contained in:
parent
f2ae79d29e
commit
5ce70ad129
1 changed files with 5 additions and 2 deletions
|
|
@ -266,8 +266,11 @@ Server Objects
|
|||
|
||||
.. attribute:: address_family
|
||||
|
||||
The family of protocols to which the server's socket belongs.
|
||||
Common examples are :const:`socket.AF_INET` and :const:`socket.AF_UNIX`.
|
||||
The family of protocols to which the server's socket belongs. Common
|
||||
examples are :const:`socket.AF_INET`, :const:`socket.AF_INET6`, and
|
||||
:const:`socket.AF_UNIX`. Subclass the TCP or UDP server classes in this
|
||||
module with class attribute ``address_family = AF_INET6`` set if you
|
||||
want IPv6 server classes.
|
||||
|
||||
|
||||
.. attribute:: RequestHandlerClass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue