Hi Don,
The fix has been integrated. See attachment. It should be in next build
of JDK 7.
-Edward
Don Coleman wrote:
-Djava.net.preferIPv4Stack=true works fine for IPv4, but my
application needs to send both IPv4 and IPv6.
I'd be interested to see Edward Wang's patch for this issue.
On 6/1
Hi Don,
Yes, in recent kernels (2.6.*), both IPv4 and IPv6 socket options can be
set for an IPv6 socket. And seems setting both of them is the only way
to make things like TTL/HOP_LIMIT works properly as expected.
Only that I still need to do more testing for different kernel versions.
Hope
-Djava.net.preferIPv4Stack=true works fine for IPv4, but my
application needs to send both IPv4 and IPv6.
I'd be interested to see Edward Wang's patch for this issue.
On 6/1/07, Alan Bateman <[EMAIL PROTECTED]> wrote:
Don Coleman wrote:
> I'm have a problem setting TTL when sending Multicast pa
Don Coleman wrote:
I'm have a problem setting TTL when sending Multicast packets to an
IPv4 address over an IPv6 socket.
Setting the TTL in Java has no effect when sending to an IPv4 address.
It is always 1.
This is only a problem on Linux, it works fine on OS X, Solaris and
Windows.
This pr
I'm have a problem setting TTL when sending Multicast packets to an
IPv4 address over an IPv6 socket.
Setting the TTL in Java has no effect when sending to an IPv4 address.
It is always 1.
This is only a problem on Linux, it works fine on OS X, Solaris and Windows.
This problem exists with JDK5