[email protected] 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?

Yes, it totally fails and none of the IP version works when I bind IPv4-ANY
socket and IPv6-ANY socket at the same time. 
So, I also suspect that there is some issue(may be bug) in handling
different protocols simultaneously with same listening port.

Otherwise, binding only IPv4-ANY socket or only IPv6-ANY socket works fine.

Regards,
Mohsin Kesarani




--
View this message in context: 
http://lwip.100.n7.nabble.com/How-to-have-two-different-sockets-for-IPv4-and-IPv6-tp24291p24296.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to