On 13/06/2013 22:03, Bernd Eckenfels wrote:
Speaking of this guide, there are two problems with this as well:
First of all the Title is Java 5, but it is published in JDK 7
Documentation set as well. For the Java 8 I would recommend to
overhaul at least the title.
When touching that document anyway, there is one thing I find very
disturbing, the comparision between a Java Program and a
"corresponding" C-Program is not fair, as the new/old version of the
C-Program both loop over all possible addresses and the Java program
does not. So in fact the Java program does not work very well in
Dual-Stack environements whereas the C-program follow best practice.
This guide isn't maintained in OpenJDK but I will submit a bug for the
Oracle docs team, I agree it need to be refreshed as it doesn't look
like it has been updated much sine IPv6 support was added (in JDK 1.4).
:
In the guide the is some mentioning of a V6ONLY option. Is there a
plan to offer it, or should maybe the guide be reworked a bit?
There isn't support for IPV6_V6ONLY, it rarely comes up to be honest.
-Alan.