I'm using it on a project with LwIP 1.4.1. You'll need to enable it with #define SO_REUSE 1 in your options header. The implementation is in sockets.c and calls ip_set_option()/ip_get_option()
Joel
On Jul 01, 2015, at 01:39 AM, jkp <address@hidden> wrote:
Hi,
I'm using LWIP Version 1.4.1 as shown below and target ARM Cortex 4 proc.
I'm using the socket option
SO_REUSEPORT for multiple threads binding to same port and it seems like I
can't find the implementation for the same.
I used lwip_setsockopt() and it did returned me , not supported protocol.
But, in the lwip form I came to know that its already part of the LWIP stack
for quite long time. Is that I'm missing something here ?
/** X.x.x: Major version of the stack */
#define LWIP_VERSION_MAJOR 1U
/** x.X.x: Minor version of the stack */
#define LWIP_VERSION_MINOR 4U
/** x.x.X: Revision of the stack */
#define LWIP_VERSION_REVISION 1U
--
View this message in context: http://lwip.100.n7.nabble.com/SO-REUSEPORT-is-supported-in-LWIP-1-4-1-tp24649.html
Sent from the lwip-users mailing list archive at Nabble.com.
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users