[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02178) Re: Bug?: bind(6);bind(4);listen(6) used to work



In article <20030205075634.GA5139@xxxxxxxxxxxxxxxxxxx> (at Wed, 5 Feb 2003 08:56:34 +0100), Lionel Elie Mamane <lionel@xxxxxxxxx> says:

> On Wed, Feb 05, 2003 at 03:19:15PM +0900, Mitsuru KANDA / ?$B?@ED ?$B=< wrote:
> 
> > Have you try to use IPV6_V6ONLY option?
> 
> I'm not looking for a way to absolutely listen on two different
> sockets for IPv4 and IPv6. Listening on both IPv4 and IPv6 with one
> socket is quite acceptable. I was commenting that having the listen
> fail when both binds succeeded maybe wasn't a good idea. I think it
> would be more coherent to have either:
> 
>  - bind(ipv6) = SUCCESS
>  - bind(ipv4) = FAILURE
> 
> or
> 
>  - bind(ipv6) = SUCCESS
>  - bind(ipv4) = SUCCESS
>  - listen(ipv6) = SUCCESS
>  - listen(ipv4) = FAILURE

Would you test linux-2.4.21-preXX series?
If it is ok, we will mirate our logic to one it does.
(linux-2.4.21 will support IPV6_V6ONLY but logic is different a bit.)

--yoshfuji