[email protected] 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. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
