#2752: fix second example too.

This commit is contained in:
Georg Brandl 2008-05-05 21:06:48 +00:00
parent cb63565eb5
commit 98fd03637f
1 changed files with 1 additions and 1 deletions

View 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):