lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] How to have two different sockets for IPv4 and IPv6


From: Philip Gladstone
Subject: Re: [lwip-users] How to have two different sockets for IPv4 and IPv6
Date: Wed, 08 Apr 2015 18:13:07 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 4/8/15 14:25, address@hidden wrote:
Ivan Delamer wrote:
I don't use the socket API but as far as I can remember, all you need
is one socket listening on IPv6 ANY address.

Is that so? What's the behaviour then if you first bind an IPv4-ANY socket and then the IPv6-ANY socket? Does it run IPv6-only or fail?

I must admit I'm not too familiar with dual-version socket handling...

I have it working for UDP -- I listen on the same port on both IPv4 and IPv6 and it works. I know that Simon merged my patch to make this type of thing work in the current development version. I have not (yet) upgraded to that version to verify.

Philip



reply via email to

[Prev in Thread] Current Thread [Next in Thread]