#2752: fix second example too.
This commit is contained in:
parent
cb63565eb5
commit
98fd03637f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue