addrinfo
family, socktype, proto, canonname, sockaddr = addrinfo[0]
s = socket(family, socktype, proto)
s.connect(sockaddr)
Why doesn't a %en0 suffix work to connect a link-local IPv6 TCP socket in Python?