We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c527f8 commit c50f5a9Copy full SHA for c50f5a9
Doc/library/socketserver.rst
@@ -260,8 +260,11 @@ Server Objects
260
261
.. attribute:: address_family
262
263
- The family of protocols to which the server's socket belongs.
264
- 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
265
+ :const:`socket.AF_UNIX`. Subclass the TCP or UDP server classes in this
266
+ module with class attribute ``address_family = AF_INET6`` set if you
267
+ want IPv6 server classes.
268
269
270
.. attribute:: RequestHandlerClass
0 commit comments