#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 73b5d5c..aff6a2e 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -34,6 +34,8 @@
 files, buffer allocation on receive operations is automatic, and buffer length
 is implicit on send operations.
 
+.. _host_port:
+
 Socket addresses are represented as follows: A single string is used for the
 :const:`AF_UNIX` address family. A pair ``(host, port)`` is used for the
 :const:`AF_INET` address family, where *host* is a string representing either a