mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
socket.h: set SOMAXCONN default value to 8
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -239,7 +239,7 @@
|
|||||||
#ifdef CONFIG_NET_TCPBACKLOG_CONNS
|
#ifdef CONFIG_NET_TCPBACKLOG_CONNS
|
||||||
# define SOMAXCONN CONFIG_NET_TCPBACKLOG_CONNS
|
# define SOMAXCONN CONFIG_NET_TCPBACKLOG_CONNS
|
||||||
#else
|
#else
|
||||||
# define SOMAXCONN 0
|
# define SOMAXCONN 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Definitions associated with sendmsg/recvmsg */
|
/* Definitions associated with sendmsg/recvmsg */
|
||||||
|
|||||||
Reference in New Issue
Block a user