lwip: activate TCP_LISTEN_BACKLOG per default with sock_tcp
Prevents unnecessary usage of resources, as the queue of `sock_tcp` is restricted.
This commit is contained in:
parent
1a4e6e9cdb
commit
a7ef50636e
@ -134,6 +134,14 @@ extern "C" {
|
||||
#define LWIP_NETCONN (0)
|
||||
#endif
|
||||
|
||||
#ifndef TCP_LISTEN_BACKLOG
|
||||
# if defined(MODULE_LWIP_SOCK_TCP)
|
||||
# define TCP_LISTEN_BACKLOG (1)
|
||||
# else
|
||||
# define TCP_LISTEN_BACKLOG (0)
|
||||
# endif
|
||||
#endif /* TCP_LISTEN_BACKLOG */
|
||||
|
||||
#define LWIP_SOCKET (0)
|
||||
|
||||
#define LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user