]> granicus.if.org Git - python/commitdiff
#2752: fix second example too.
authorGeorg Brandl <georg@python.org>
Mon, 5 May 2008 21:06:48 +0000 (21:06 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 5 May 2008 21:06:48 +0000 (21:06 +0000)
Doc/library/socket.rst

index ad7d4fd3850b273a1849743d2800dfa3c3ebf7fb..e3591f6b5bec829215dec6d400fc808fc054a2ca 100644 (file)
@@ -846,7 +846,7 @@ sends traffic to the first one connected successfully. ::
    import socket
    import sys
 
-   HOST = ''                 # Symbolic name meaning the local host
+   HOST = ''                 # Symbolic name meaning all available interfaces
    PORT = 50007              # Arbitrary non-privileged port
    s = None
    for res in socket.getaddrinfo(HOST, PORT, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, socket.AI_PASSIVE):