From 98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 5 May 2008 21:06:48 +0000 Subject: #2752: fix second example too. --- Doc/library/socket.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index ad7d4fd..e3591f6 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -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): -- cgit v0.12