You can modify the marco as follow:
/* MEMP_NUM_NETCONN: the number of struct netconns. */
#define MEMP_NUM_NETCONN            8
It indicates that the number of sockets.



2013/10/30 Enrique Wellborn <[email protected]>

> Hi,
> I'm using the lwip_socket() api to create lwip sockets on linux and it
> works well, but only for 4 sockets.
> When I try to create a fifth socket, the functions fails (returns -1).
> When I call lwip_close() on one of the 4 existing sockets, it works, and
> then i can recreate the same socket (I get the same socket id) using
> lwip_socket().
> Is there a way to remove this limitation?
>
> Thank you very much!
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to