]> granicus.if.org Git - python/commitdiff
#2752: wrong meaning of '' for socket host.
authorGeorg Brandl <georg@python.org>
Sun, 4 May 2008 09:15:04 +0000 (09:15 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 4 May 2008 09:15:04 +0000 (09:15 +0000)
Doc/library/socket.rst

index f2470066d3bcc7dd1a2bfa2c09ae0c0d08217657..ad7d4fd3850b273a1849743d2800dfa3c3ebf7fb 100644 (file)
@@ -808,7 +808,7 @@ The first two examples support IPv4 only. ::
    # Echo server program
    import socket
 
-   HOST = ''                 # Symbolic name meaning the local host
+   HOST = ''                 # Symbolic name meaning all available interfaces
    PORT = 50007              # Arbitrary non-privileged port
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.bind((HOST, PORT))