>>>>> On Wed, 9 Jan 2002 10:41:10 +0100 (MET),
>>>>> Stephane Carrez <[EMAIL PROTECTED]> said:
> Assuming that the server accepting socket is AF_INET6, you should do
> the following on the socket:
> int on;
> on = 1;
> setsockopt(fd, IPPROTO_IPV6, IPV6_BINDV6ONLY,
> &on, sizeof(on));
Correct, but IPV6_BINDV6ONLY is FreeBSD (4.3) specific, so I'd
recommend to use IPV6_V6ONLY on FreeBSD 4.4. The latter one is
defined in a public specification
"draft-ietf-ipngwg-rfc2553bis-04.txt", and we can expect wider
portability with it.
JINMEI, Tatuya
Communication Platform Lab.
Corporate R&D Center, Toshiba Corp.
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message