|Subject:||Re: [lwip-users] How to have two different sockets for IPv4 and IPv6|
|Date:||Thu, 16 Apr 2015 11:53:48 +0530|
>> 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?
> After a bit of reading, I'm back in the issue: yes, it's that way and it
> should work in lwIP, too. If not, that's a (regression) bug.
I tried binding a socket to IPv6 ANY address, but it just works for IPv6
address only and not for IPv4.
I even tried setting #define SO_REUSE 1 as per Philips suggestion, but
still same problem.
So, maybe there is some functionality lacking in pcb which can support
reuse of same listening port for different protocol versions simultaneously.
View this message in context: http://lwip.100.n7.nabble.com/How-to-have-two-different-sockets-for-IPv4-and-IPv6-tp24291p24302.html
Sent from the lwip-users mailing list archive at Nabble.com.
lwip-users mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|