mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
socket.h: set SOMAXCONN default value to 8
Change-Id: I75687c094cf3ba5b80e283c90049dc1f3fce03f4 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