Wator Sead <sea...@gmail.com> added the comment:

[::] can be bound, but the resoult is [::1], you must use this address to 
connect. Excuse me, are you a developer of the Python?

>>> import socket
>>> ls = socket.socket(socket.AF_INET6)
>>> cs = socket.socket(socket.AF_INET6)
>>> ls.bind(('[::]', 888))  # no raise
>>> ls.listen(1)
>>> cs.connect(('[::1]', 888))  # no raise

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41169>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to