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: Mohsin
Subject: Re: [lwip-users] How to have two different sockets for IPv4 and IPv6
Date: Thu, 9 Apr 2015 11:47:41 -0700 (MST)

address@hidden wrote
> goldsimon@

>  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?
> 
> 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.

Hi Simon,

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.


Regards,
Mohsin Kesarani





--
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.



reply via email to

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