This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/27066] New: libgcj native socket code does not support IPv6
- From: "cjw at daneel dot dyndns dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 6 Apr 2006 19:40:59 -0000
- Subject: [Bug libgcj/27066] New: libgcj native socket code does not support IPv6
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Java Sockets do not know on creation if they will be used for IPv6 or IPv4, so
the gnu::java::net::PlainSocketImpl::create method should use PF_INET6 instead
of AF_INET. The other methods - bind and connect - must then translate IPv4
addresses to IPv4-in-IPv6. Behavior with HAVE_INET6 not defined should probably
not be changed. The code is in libjava/gnu/java/net/natPlainSocketImplPosix.cc
.
--
Summary: libgcj native socket code does not support IPv6
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cjw at daneel dot dyndns dot org
GCC host triplet: powerpc-mandriva-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27066