Skip to content

gh-64414: mention AF_INET6 and IPv6 in socketserver docs. #129866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Doc/library/socketserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading