Commit 98fd0363 authored by Georg Brandl's avatar Georg Brandl

#2752: fix second example too.

parent cb63565e
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment