Message6785
Test program :
import socket
sok=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sok.bind(("", 0))
sok.listen(100)
print sok.getsockname()[0]
returned value:
- python: 0.0.0.0
- jython: 0:0:0:0:0:0:0:0
Issue:
The value returned by jython is of the wrong family: AF_INET6 instead of AF_INET as requested.
context:
>jython --version
Jython 2.5.1+
>java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.9) (6b18-1.8.9-0.1~squeeze1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) |
|
Date |
User |
Action |
Args |
2012-02-28 20:52:53 | vleloup | set | recipients:
+ vleloup |
2012-02-28 20:52:53 | vleloup | set | messageid: <1330462373.66.0.975922129269.issue1844@psf.upfronthosting.co.za> |
2012-02-28 20:52:53 | vleloup | link | issue1844 messages |
2012-02-28 20:52:53 | vleloup | create | |
|