We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2ae79d commit 5ce70adCopy full SHA for 5ce70ad
Doc/library/socketserver.rst
@@ -266,8 +266,11 @@ Server Objects
266
267
.. attribute:: address_family
268
269
- The family of protocols to which the server's socket belongs.
270
- 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
271
+ :const:`socket.AF_UNIX`. Subclass the TCP or UDP server classes in this
272
+ module with class attribute ``address_family = AF_INET6`` set if you
273
+ want IPv6 server classes.
274
275
276
.. attribute:: RequestHandlerClass
0 commit comments