IPV6_V6ONLY (was: 1.4.2 patchset 5)

Cedric Berger cedric at berger.to
Tue Nov 18 01:57:22 PST 2003


Jean-Baptiste Quenot wrote:

>After issuing:
>
># sysctl net.inet6.ip6.v6only=0
>
>It works again...
>  
>
Is there a reason why the JDK cannot simply call:

    int on = 0;
    setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on) 
<http://developer.apple.com/documentation/Darwin/Reference/ManPages/html/sizeof.on.html> 
);

On each socket it creates, since it is what the JDK is expecting?
Cedric




More information about the freebsd-java mailing list