Message10297
Testing jython 2.7 vs python 2.7 on the same host.
Python 2.7:
>>> import socket
>>> s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
>>> s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0)
>>> s.bind(("localhost", 7171))
>>> s.listen(5)
>>> quit()
Jython 2.7:
>>> import socket
>>> s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
>>> s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'IPV6_V6ONLY'
This is a serious deficiency that makes it difficult to implement dual-stack IPv4/IPv6 support. |
|
Date |
User |
Action |
Args |
2015-09-25 20:17:00 | mishikal@yahoo.com | set | recipients:
+ mishikal@yahoo.com |
2015-09-25 20:16:59 | mishikal@yahoo.com | set | messageid: <1443212219.97.0.303517000039.issue2406@psf.upfronthosting.co.za> |
2015-09-25 20:16:59 | mishikal@yahoo.com | link | issue2406 messages |
2015-09-25 20:16:59 | mishikal@yahoo.com | create | |
|