[Top][All Lists]

[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: Mohsin
Subject: Re: [lwip-users] How to have two different sockets for IPv4 and IPv6
Date: Wed, 8 Apr 2015 12:07:57 -0700 (MST)

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?

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.

Mohsin Kesarani

View this message in context: 
Sent from the lwip-users mailing list archive at Nabble.com.

reply via email to

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