Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 10:56:57 +0100
From:      Cedric Berger <cedric@berger.to>
To:        Jean-Baptiste Quenot <jb.quenot@caraldi.com>, freebsd-java@freebsd.org
Cc:        Alexey Zelkin <phantom@freebsd.org>
Subject:   IPV6_V6ONLY (was: 1.4.2 patchset 5)
Message-ID:  <3FB9ECE9.1060101@berger.to>
In-Reply-To: <20031117132001.GA96272@watt.intra.caraldi.com>
References:  <20031111160600.GA95499@misty.eyesbeyond.com> <20031117125107.GA96039@watt.intra.caraldi.com> <20031117132001.GA96272@watt.intra.caraldi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB9ECE9.1060101>