|Subject:||Re: [lwip-users] How to have two different sockets for IPv4 and IPv6|
|Date:||Wed, 08 Apr 2015 20:22:42 +0200|
|User-agent:||Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0|
I've also heard that setting sin6_addr to in6addr_any will work for both IPv4 and IPv6, that's why only I was looking for in6addr_any in the stack. So, my ultimate question is whether in6addr_any is equivalent to setting sin6_addr=0
Yes, it is. Jus like using IN6ADDR_ANY_INIT macro. We just haven't yet implemented in6addr_any, that's all.
The whole point here seems to be that simultaneous listening on the same port but different protocols doesn't work. That would be worth a bug.
|[Prev in Thread]||Current Thread||[Next in Thread]|