Re: TTL ignored when sending Multicast UDP Datagram to IPv4 address via IPv6 socket

2007-06-01 Thread Don Coleman
-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 TT

TTL ignored when sending Multicast UDP Datagram to IPv4 address via IPv6 socket

2007-05-31 Thread Don Coleman
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