It is good that this is known issue and you are going to fix it.
I have discovered another issue but with the IPV6_V6ONLY option.
It was not possible to set this option for UDP sockets. Probably, it was caused
by copy-paste mistake.
The fix is following (sockets.c, line 2515):
#if 0 // BUG FIX
LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, int, NETCONN_TCP);
LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, int);
Please add it to the task #14394
Date: Wed, 9 Aug 2017 21:27:45 +0200
From: "goldsi...@gmx.de" <goldsi...@gmx.de>
To: Mailing list for lwIP users <firstname.lastname@example.org>
Subject: Re: [lwip-users] IPv6 multicast support by Socket API?
Andrej Butok wrote:
> BUT it looks like the lWIP Sockets does not support IPv6 multicast join/leave.
> Did I miss something?
No, you're right. This is not yet done.
> Are you going to add this missing functionality?
We have task #14394 (Improve socket options) for this. I'm not sure when this
will be done though. Patches would be welcome :-)
lwip-users mailing list