Parameters ignored in FreeRTOS UDP sockets (lwip 2.1.2)
Some parameters (interfaceName, setNonBlocking) are ignored in the implementation of some functions (in p_udp_sockect.c) on the FreeRTOS part.
SOPC_UDP_Socket_CreateNew()
Added an implementation, with a specificity for the interfaceName. In lwip 2.1.2, it is necessary to give an interface name longer than 6 but only the first 2 characters are used.
SOPC_UDP_Socket_DropMembership() / SOPC_UDP_Socket_AddMembership()
interfaceName argument is needed to match prototype function (common to all OS implementations), but is not used because of the lack of an element (int imr_ifindex) in the ip_mreq structure in lwip (2.1.2) compared to POSIX ip_mreqn structure.
Edited by Vincent Monfort